读binlog方法

将binlog内容转换为可读:

mysqlbinlog --no-defaults -v --base64-output=decode-rows my_binlog_file_name > binlog.sql

或直接查看

mysqlbinlog  my_binlog_file_name | more

原文地址:https://www.cnblogs.com/uphold/p/7677300.html