45 lines
892 B
Markdown
45 lines
892 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.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||
|
## 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`
|
||
|
|
||
|
|
||
|
|
||
|
|