Skip to content

Commit

Permalink
Use mysql port information when running install
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Feb 3, 2022
1 parent 7c25ac7 commit ff9aec5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Method/MysqlMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,12 @@ public function validateCredentials(array $data, ValidationErrorBag $errors, boo
public static function createCredentialsUrlForDrupal(array $o): string
{
return sprintf(
'%s://%s:%s@%s/%s',
'%s://%s:%s@%s:%s/%s',
$o['driver'] ?? self::METHOD_NAME,
$o['user'],
$o['pass'],
$o['host'],
$o['port'] ?? '3306',
$o['name']
);
}
Expand Down

0 comments on commit ff9aec5

Please sign in to comment.