2
0
Эх сурвалжийг харах

Set sql mode and timezone

andryyy 8 жил өмнө
parent
commit
73ae15790a

+ 1 - 0
data/conf/mysql/my.cnf

@@ -5,6 +5,7 @@ collation-server               = utf8mb4_unicode_ci
 innodb_file_per_table          = TRUE
 innodb_file_per_table          = TRUE
 innodb_file_format             = barracuda
 innodb_file_format             = barracuda
 innodb_large_prefix            = TRUE
 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 = utf8mb4