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 01fcd41 commit cdc3f15Copy full SHA for cdc3f15
src/MysqlPersistentConnection.php
@@ -115,9 +115,10 @@ public function getConnectionUrl(): string
115
}
116
117
return sprintf(
118
- 'mysql://%s@%s:%s/%s?server_version=%s',
+ 'mysql://%s:%s@%s:%s/%s?server_version=%s',
119
$this->connection_params['user'] ?? get_current_user(),
120
- $this->connection_params['hostname'] ?? 'localhost',
+ $this->connection_params['password'] ?? '',
121
+ $this->connection_params['host'] ?? 'localhost',
122
$this->connection_params['port'] ?? 3306,
123
$this->connection_params['dbname'] ?? 'test',
124
$this->connection_params['server_version'] ?? '5.6'
0 commit comments