MadelineProtoDocs/docs/PHPInternal/danog/MadelineProto/Db/Driver/Mysql.md

889 B

title: danog\MadelineProto\Db\Driver\Mysql: MySQL driver wrapper. description:

danog\MadelineProto\Db\Driver\Mysql

Back to index

Author: Daniil Gentili daniil@daniil.it

MySQL driver wrapper.

Method list:

  • getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Mysql\Pool>

Methods:

getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Mysql\Pool>

Parameters:

  • $host: string
  • $port: int
  • $user: string
  • $password: string
  • $db: string
  • $maxConnections: int
  • $idleTimeout: int

See also:

  • \Amp\Mysql\Pool
  • \Generator

Generated by danog/phpdoc