查看当前第一个binlog文件的内容 show binlog events; 查看指定binlog文件内容 show binlog events in 'mysql-bin.000002'; 查看当前正在写入的binlog 文件 show master status\G; 获取binlog文件列表 show binary logs; 本地查看: 1基于开始时间/结束时间 mysqlbinlog --start-datetime='2013-09-10 00:00:00' --stop-datet…