Merge pull request #5209 from nextcloud/fix-install-mysql-mb4

fix install on mb4 enabled mariadb/mysql
This commit is contained in:
blizzz 2017-06-02 13:10:28 +02:00 committed by GitHub
commit 45305c762d
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);