summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-01 02:12:25 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-01 13:44:18 +0200
commit18a8f3654b0732c0fa6a60905439340676fb8187 (patch)
treef6b1d54dec3304e920db9e5a0189546a980c829a /lib/private/Setup
parentd4f3d85e3ca2bdc03879b71ba01e061b8b153002 (diff)
downloadnextcloud-server-18a8f3654b0732c0fa6a60905439340676fb8187.tar.gz
nextcloud-server-18a8f3654b0732c0fa6a60905439340676fb8187.zip
fix install on mb4 enabled mariadb/mysql
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Setup')
-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);