22 lines
464 B
Plaintext
22 lines
464 B
Plaintext
|
[mysqld]
|
||
|
lower_case_table_names=1
|
||
|
bind-address= 0.0.0.0
|
||
|
default-time_zone=Asia/Shanghai
|
||
|
|
||
|
# 启用二进制日志
|
||
|
log-bin=mysql-bin
|
||
|
# 设置二进制日志格式(推荐 ROW 格式)
|
||
|
binlog-format=ROW
|
||
|
|
||
|
# 设置server-id
|
||
|
server-id=1
|
||
|
|
||
|
# 更改字符集 如果想Mysql在后续的操作中文不出现乱码,则需要修改配置文件内容
|
||
|
symbolic-links=0
|
||
|
character-set-server=utf8mb4
|
||
|
|
||
|
[client]
|
||
|
default-character-set=utf8mb4
|
||
|
|
||
|
[mysql]
|
||
|
default-character-set=utf8mb4
|