From 74a26a91e55c75727d09ac2cebe6d39113aa7bb5 Mon Sep 17 00:00:00 2001 From: Dai Dang Van Date: Mon, 10 Apr 2017 14:42:32 +0700 Subject: [PATCH] Use utf8_general_ci collation as a default collation Now, I see mariadb are using utf8_general_ci as a default collation. - https://mariadb.com/kb/en/mariadb/supported-character-sets-and-collations/ This mean all of Devstack database will be created with utf8_general_ci collation, so may be, one service/project can be deployed successfully via Devstack but will be fail with Kolla deployment. Therefore, we should use above default collation for Kolla-ansible. Change-Id: Icbb6c15f536fc6986816c58f4fd68bfb95813e46 Closes-Bug: 1680783 --- ansible/roles/mariadb/templates/galera.cnf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2 index d184e02865..bee9d80ac7 100644 --- a/ansible/roles/mariadb/templates/galera.cnf.j2 +++ b/ansible/roles/mariadb/templates/galera.cnf.j2 @@ -21,7 +21,7 @@ binlog_format=ROW default-storage-engine=innodb innodb_autoinc_lock_mode=2 -collation-server = utf8_unicode_ci +collation-server = utf8_general_ci init-connect='SET NAMES utf8' character-set-server = utf8