Skip to content

Commit 0db8026

Browse files
authored
Merge pull request #14959 from nextcloud/backport/14854/stable34
[stable34] fix(db): update MySQL collation recommendation to utf8mb4_bin
2 parents e07825a + ead9ee9 commit 0db8026

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

admin_manual/configuration_database/linux_database_configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Your :file:`/etc/mysql/my.cnf` could look like this:
8989

9090
[mysqld]
9191
character_set_server = utf8mb4
92-
collation_server = utf8mb4_general_ci
92+
collation_server = utf8mb4_bin
9393
transaction_isolation = READ-COMMITTED
9494
binlog_format = ROW
9595
innodb_large_prefix=on
@@ -142,7 +142,7 @@ Then a **mysql>** or **MariaDB [root]>** prompt will appear. Now enter the follo
142142
::
143143

144144
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
145-
CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
145+
CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
146146
GRANT ALL PRIVILEGES on nextcloud.* to 'username'@'localhost';
147147

148148
You can quit the prompt by entering::

0 commit comments

Comments
 (0)