1.修改配置

my.ini

mysql 开启binglog

2.停止服务

net stop mysql   停止mysql停止

net start mysql  启动mysql服务

service mysql restart   重启

3.查看binglog是否开启

也可登录mysql服务器,通过mysql的变量配置表,查看二进制日志是否已开启 单词:variable[ˈvɛriəbəl] 变量

登录服务器
mysql -u root -p
mysql> show variables like 'log_%'; 

mysql 开启binglog

相关文章:

  • 2021-12-03
  • 2022-02-18
  • 2021-12-06
  • 2021-08-21
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2021-10-07
  • 2022-02-10
  • 2022-02-06
  • 2021-12-08
  • 2021-08-01
  • 2021-12-16
相关资源
相似解决方案