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>`