summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Setup/MySQL.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php
index 8290d675500..b4ca02d2e84 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);