lilishop-docker/config/my.cnf

17 lines
414 B
Plaintext
Raw Normal View History

2021-05-13 16:15:40 +08:00
[mysqld]
user=mysql
default-storage-engine=INNODB
character-set-client-handshake=FALSE
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
init_connect='SET NAMES utf8mb4'
2022-07-08 11:23:35 +08:00
group_concat_max_len=4294967295
2022-09-14 14:45:54 +08:00
log-bin=mysql-bin # 开启 binlog
binlog-format=ROW # 选择 ROW 模式
2021-12-10 10:26:57 +08:00
2021-05-13 16:15:40 +08:00
[client]
#utf8mb4字符集可以存储emoji表情字符
default-character-set=utf8mb4
[mysql]
default-character-set=utf8mb4