Skip to content

Commit 5ff39f9

Browse files
author
Ethan
committed
port
1 parent 7b40b7c commit 5ff39f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function makePdo(array $config)
139139
if (isset($config['dsn'])) {
140140
$dsn = $config['dsn'];
141141
} else {
142-
$dsn = 'mysql:host=' . $config['port'] . ';port=' . $config['host'] . ';dbname=' . $config['database'];
142+
$dsn = 'mysql:host=' . $config['host'] . ';port=' . $config['port'] . ';dbname=' . $config['database'];
143143
}
144144

145145
$pdo = new PDO($dsn, $config['username'], $config['password'], $config['options']);

0 commit comments

Comments
 (0)