Skip to content

Commit

Permalink
Add port to docs (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubenglicky authored Oct 10, 2024
1 parent 50c4a20 commit d745c0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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',
Expand Down

0 comments on commit d745c0b

Please sign in to comment.