From 50cfbd2a9cc1311c0dfb0ad3d5cc4f0088444f1a Mon Sep 17 00:00:00 2001 From: chenyan Date: Mon, 1 Jun 2020 15:32:15 +0800 Subject: [PATCH] mariadb: use utf8_general_ci collation as default Mariadb is using utf8_general_ci as the default collation: - https://mariadb.com/kb/en/mariadb/supported-character-sets-and-collations/ Currently utf8_unicode_ci is used for collation server, but when enabled panko and run "openstack event list", we will see "pymysql.err.InternalError". This issue can be fixed when using utf8_general_ci. Related issue is here: https://bugs.launchpad.net/starlingx/+bug/1880948 Change-Id: I24005ec4ae1ffe20c2436ba63471ea8fc1315b86 Signed-off-by: chenyan --- mariadb/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb/values.yaml b/mariadb/values.yaml index 4ef16b7ad..ff5ab4173 100644 --- a/mariadb/values.yaml +++ b/mariadb/values.yaml @@ -303,7 +303,7 @@ conf: [mysqld] # Charset character_set_server=utf8 - collation_server=utf8_unicode_ci + collation_server=utf8_general_ci skip-character-set-client-handshake # Logging