Open JokerDevops opened 6 years ago
[root@test test]# binlog2sql-master/binlog2sql/binlog2sql.py -h localhost -P 3306 -u root -p -d aproject --start-file="mysql-bin.000001" --start-datetime="2018-11-13 17:00:00" --stop-datetime="2018-11-13 19:00:00" -B > huifu4.sql [root@test test]# cat huifu4.sql
为空
我的也是为空
你们正向解析正常吗?
mysql 配置需要配置成:
binlog_format = row binlog_row_image = full
binlog_format = mixed 模式 这个无法解析回滚sql
[root@test test]# binlog2sql-master/binlog2sql/binlog2sql.py -h localhost -P 3306 -u root -p -d aproject --start-file="mysql-bin.000001" --start-datetime="2018-11-13 17:00:00" --stop-datetime="2018-11-13 19:00:00" -B > huifu4.sql [root@test test]# cat huifu4.sql
为空