Windows open under MySql binlog

1, to see whether to open binlog: show variables like 'log_bin'

2, when the need to turn OFF binlog

In the open my.ini file, add the following mysqld

log_bin=mysql-bin
binlog-format=ROW
server-id=1

 

 3. Save the file, restart the mysql service

 

 

 4, see the binlog status: show variables like 'log_bin'

 

Guess you like

Origin www.cnblogs.com/heavenplus/p/11489109.html