fix install on mb4 enabled mariadb/mysql

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-06-01 02:12:25 +02:00
parent db22c42e78
commit 0d893f09c4
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class MySQL extends AbstractDatabase {
$tools = new MySqlTools();
if ($tools->supports4ByteCharset($connection)) {
$this->config->setValue('mysql.utf8mb4', true);
$connection = $this->connect();
$connection = $this->connect(['dbname' => null]);
}
$this->createSpecificUser($username, $connection);