@llplmlyd
        
        2021-01-28T05:13:18.000000Z
        字数 688
        阅读 1049
    数据库
references to 
https://github.com/danfengcao/binlog2sql
python binlog2sql.py -hxxx -Pxxx -urecovery -precovery --flashback -desa_conf -tapp_config_history --start-file='mysql-bin.000411' --start-position=129368792 --sql-type DELETE
其余参数 如stop-postion 根据个人需要添加 多张表的时候 可以使用 
-t table1 table2 xxx的方法进行闪回
python binlog2sql.py -hxxx -Pxxx -urecovery -precovery --flashback -desa_conf -tapp_config_history --start-file='mysql-bin.000411' --start-position=129368792 --sql-type DELETE
shell> git clone https://github.com/danfengcao/binlog2sql.git && cd binlog2sqlshell> pip install -r requirements.txt
https://github.com/danfengcao/binlog2sql/issues/33 
将binlog2sql_util.py中的decode("utf-8")替换为decode("utf-8","ignore")
