将binlog内容转换为可读:
mysqlbinlog --no-defaults -v --base64-output=decode-rows my_binlog_file_name > binlog.sql
或直接查看
mysqlbinlog my_binlog_file_name | more