Skip to content

Commit 02a03af

Browse files
authored
Fix DSN format in MysqlConfig class
1 parent a1679a1 commit 02a03af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database/src/Config/MysqlConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class MysqlConfig implements DatabaseConfig
1313
{
1414
public string $dsn {
1515
get => sprintf(
16-
'mysql:host=%s:%s;dbname=%s',
16+
'mysql:host=%s;port=%s;dbname=%s',
1717
$this->host,
1818
$this->port,
1919
$this->database,

0 commit comments

Comments
 (0)