mysqlbinlog 查看日志时发生报错

[root@cs Downloads]# mysqlbinlog mysql-bin.001738
ERROR: Error in Log_event::read_log_event(): 'Sanity check failed', data_len: 151, event_type: 35
ERROR: Could not read entry at offset 120: Error in log format or read error.

在默认情况下调用的是系统默认安装的MySQL中的mysqlbinlog,因为这个mysqlbinlog的版本和当前的bin_log的版本不能对应起来,所以不能处理,使用对应的mysqlbinlog工作正常

原文地址:https://www.cnblogs.com/bass6/p/6038370.html