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

47 lines
947 B
Markdown

---
title: danog\MadelineProto\Db\Driver\Mysql: MySQL driver wrapper.
description:
---
# `danog\MadelineProto\Db\Driver\Mysql`
[Back to index](../../../../index.md)
> 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](https://phpdoc.daniil.it)
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)