summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2017-06-02 13:10:28 +0200
committerGitHub <noreply@github.com>2017-06-02 13:10:28 +0200
commit45305c762dd9902d90fbfcdd4bf1ec6346fb769f (patch)
tree6a9f3020f3f7e06d6712b3de0ca1508dea1e3edc /lib
parent74fccf20c8dfae068568a8e087c4f31c7390a8e9 (diff)
parent18a8f3654b0732c0fa6a60905439340676fb8187 (diff)
downloadnextcloud-server-45305c762dd9902d90fbfcdd4bf1ec6346fb769f.tar.gz
nextcloud-server-45305c762dd9902d90fbfcdd4bf1ec6346fb769f.zip
Merge pull request #5209 from nextcloud/fix-install-mysql-mb4
fix install on mb4 enabled mariadb/mysql
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);