Browse Source

Use UTF8, MySQL 5.7 is the only docker image to use innodb default row format, but is broken and segfaults on many machines

andryyy 8 years ago
parent
commit
608820a728
1 changed files with 8 additions and 8 deletions
  1. 8 8
      data/conf/mysql/my.cnf

+ 8 - 8
data/conf/mysql/my.cnf

@@ -1,14 +1,14 @@
 [mysqld]
 [mysqld]
 character-set-client-handshake = FALSE
 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]
 [client]
-default-character-set = utf8mb4
+default-character-set = utf8
 
 
 [mysql]
 [mysql]
-default-character-set = utf8mb4
+default-character-set = utf8