From d745c0b205bcbb9ef474a73a4f84de64f1a5cc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Englick=C3=BD?= Date: Thu, 10 Oct 2024 15:01:42 +0200 Subject: [PATCH] Add port to docs (#247) --- docs/default.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/default.md b/docs/default.md index cd42ab2..539bcac 100644 --- a/docs/default.md +++ b/docs/default.md @@ -15,7 +15,8 @@ The Connection instance is the main access point to the database. Connection's c | Key | Description | |-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------| | `driver` | driver name, use `mysqli`, `pgsql`, `sqlsrv`, `pdo_mysql`, `pdo_pgsql`, `pdo_sqlsrv` | -| `host` | database server name | +| `host` | database server name | +| `port` | database server port | | `username` | username for authentication | | `password` | password for authentication | | `database` | database name | @@ -31,6 +32,7 @@ The Connection instance is the main access point to the database. Connection's c $connection = new Nextras\Dbal\Connection([ 'driver' => 'mysqli', 'host' => 'localhost', + 'port' => '3306', 'username' => 'root', 'password' => '****', 'database' => 'test',