Skip to content

Commit b84a926

Browse files
authored
Merge pull request #40 from pagemachine/db-config-port-implicit-dbal
Let Doctrine DBAL determine port
2 parents 6adcbcd + e16be38 commit b84a926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Configuration/PhinxConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function toArray(): array
3131
'typo3' => [
3232
'adapter' => 'mysql',
3333
'host' => $connectionParameters['host'],
34-
'port' => $connectionParameters['port'] ?? 3306,
34+
'port' => $connectionParameters['port'] ?? null,
3535
'user' => $connectionParameters['user'],
3636
'pass' => $connectionParameters['password'],
3737
'name' => $connectionParameters['dbname'],

0 commit comments

Comments
 (0)