mysqlbinlog:"ERROR: Error in Log_event::read..."

OS: Red Hat Enterprise Linux Server release 6.5 (Santiago)
MySQL Version: 5.6.18-enterprise-commercial-advanced-log
mysqlbinlog  --start-datetime='2016-01-12 05:00:00'  mysql-bin.000307 > binlog_000307.txt

ERROR: Error in Log_event::read_log_event(): 'Sanity check failed', data_len: 320, event_type: 31

使用全路径mysqlbinlog命令问题解决:

/usr/local/mysql_xxx/bin/mysqlbinlog  --start-datetime='2016-01-12 05:00:00'  \
mysql-bin.000307 > binlog_000307.txt


你可能感兴趣的:(mysql,mysqlbinlog)