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 <yan.chen@intel.com>
This commit is contained in:
chenyan 2020-06-01 15:32:15 +08:00 committed by Yan Chen
parent 934d7946be
commit 50cfbd2a9c

View File

@ -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