From 608820a7284fe55db867b473d621b26dae5584c3 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 18 Dec 2016 15:50:57 +0100 Subject: [PATCH] Use UTF8, MySQL 5.7 is the only docker image to use innodb default row format, but is broken and segfaults on many machines --- data/conf/mysql/my.cnf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/conf/mysql/my.cnf b/data/conf/mysql/my.cnf index bedc9c3d..170c0714 100644 --- a/data/conf/mysql/my.cnf +++ b/data/conf/mysql/my.cnf @@ -1,14 +1,14 @@ [mysqld] character-set-client-handshake = FALSE -character-set-server = utf8mb4 -collation-server = utf8mb4_unicode_ci -innodb_file_per_table = TRUE -innodb_file_format = barracuda -innodb_large_prefix = TRUE -sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION +character-set-server = utf8 +collation-server = utf8_unicode_ci +#innodb_file_per_table = TRUE +#innodb_file_format = barracuda +#innodb_large_prefix = TRUE +#sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION [client] -default-character-set = utf8mb4 +default-character-set = utf8 [mysql] -default-character-set = utf8mb4 +default-character-set = utf8