We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb947a commit 9edc4d2Copy full SHA for 9edc4d2
packages/database/src/Config/MysqlConfig.php
@@ -13,7 +13,7 @@ final class MysqlConfig implements DatabaseConfig
13
{
14
public string $dsn {
15
get => sprintf(
16
- 'mysql:host=%s;port=%s;dbname=%s',
+ 'mysql:host=%s:%s;dbname=%s',
17
$this->host,
18
$this->port,
19
$this->database,
packages/database/tests/Config/DatabaseConfigTest.php
@@ -44,7 +44,7 @@ public static function provide_database_drivers(): Generator
44
password: 'secret', // @mago-expect lint:no-literal-password
45
database: 'tempest',
46
),
47
- 'mysql:host=localhost;port=3307;dbname=tempest',
+ 'mysql:host=localhost:3307;dbname=tempest',
48
'user',
49
'secret',
50
];
0 commit comments