Merge pull request #5217 from nextcloud/5209-stable12
[stable12] fix install on mb4 enabled mariadb/mysql
This commit is contained in:
commit
d2734c6dbe
|
@ -41,7 +41,7 @@ class MySQL extends AbstractDatabase {
|
||||||
$tools = new MySqlTools();
|
$tools = new MySqlTools();
|
||||||
if ($tools->supports4ByteCharset($connection)) {
|
if ($tools->supports4ByteCharset($connection)) {
|
||||||
$this->config->setValue('mysql.utf8mb4', true);
|
$this->config->setValue('mysql.utf8mb4', true);
|
||||||
$connection = $this->connect();
|
$connection = $this->connect(['dbname' => null]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->createSpecificUser($username, $connection);
|
$this->createSpecificUser($username, $connection);
|
||||||
|
|
Loading…
Reference in New Issue