rpm安装msyql5.7.35后无法开启binlog


vi /etc/my.cnf 

 在#log_bin=mysql_bin后添加下面三行数据

server-id =1

log-bin=master    (注:此步操作为开启binlog)

 

binlog_format=row