show variables like 'log_bin%';

Windows Mysql binlog 数据恢复_mysql

可以看到Mysql binlog为关闭状态,那我们去更改为开启状态