Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2021-09-09 20:39:30 +0300
committerGitHub <noreply@github.com>2021-09-09 20:39:30 +0300
commit5c1b40ec36ecffa80fb8efb3fa3b439d9f89d69e (patch)
treefaae0a95593671e175716090b6a25ec50140e5fc /config
parent9be939300ae0e426d9818756f83f6f09733307fe (diff)
parentce283c12b6ba8d27dc0d2934ffe7d6f7b6743a02 (diff)
Merge pull request #28677 from nextcloud/fix/noid/mysql-collation
make it possible to override the default collation on mysql
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 62a3308c21e..4497a244aad 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1559,6 +1559,24 @@ $CONFIG = [
'mysql.utf8mb4' => false,
/**
+ * For search queries in the database, a default collation – depending on the
+ * character set – is chosen. In some cases a different behaviour is desired,
+ * for instances when a accent sensitive search is desired.
+ *
+ * MariaDB and MySQL have an overlap in available collations, but also
+ * incompatible ones, also depending on the version of the database server.
+ *
+ * This option allows to override the automatic choice. Example:
+ *
+ * 'mysql.collation' => 'utf8mb4_0900_as_ci',
+ *
+ * This setting has no effect on setup or creating tables. In those cases
+ * always utf8[mb4]_bin is being used. This setting is only taken into
+ * consideration in SQL queries that utilize LIKE comparison operators.
+ */
+'mysql.collation' => null,
+
+/**
* Database types that are supported for installation.
*
* Available: