lilishop-docker/config/my.cnf

17 lines
414 B
Plaintext

[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'
group_concat_max_len=4294967295
log-bin=mysql-bin # 开启 binlog
binlog-format=ROW # 选择 ROW 模式
[client]
#utf8mb4字符集可以存储emoji表情字符
default-character-set=utf8mb4
[mysql]
default-character-set=utf8mb4