mysql-binlog
作者:admin 发布时间:July 19, 2018 分类:Mysql
1.查看 日志是否开启
mysql> show variables like 'log_%';
2.查看所有binlog日志列表
mysql> show master logs;
3.查看指定binlog文件的内容
mysql> show binlog events in 'mysql-bin.000002';
If there were you, the world would be just right
1.查看 日志是否开启
mysql> show variables like 'log_%';
2.查看所有binlog日志列表
mysql> show master logs;
3.查看指定binlog文件的内容
mysql> show binlog events in 'mysql-bin.000002';