From 18a8f3654b0732c0fa6a60905439340676fb8187 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 1 Jun 2017 02:12:25 +0200 Subject: [PATCH] fix install on mb4 enabled mariadb/mysql Signed-off-by: Arthur Schiwon --- lib/private/Setup/MySQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php index 8290d67550..b4ca02d2e8 100644 --- a/lib/private/Setup/MySQL.php +++ b/lib/private/Setup/MySQL.php @@ -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);