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);