a simple mysql table compare tool
pip install mysql-compare
python -m mysql_compare --source-dsn user/pass@host:ip --target-dsn user/pass@host:ip --database database --table table
# logfile
1. {db}.{table}.err.log
2. {db}.{table}.done
3. {db}.{table}.diff.log
4. {db}.{table}.ckpt.log
from mysql_compare import MysqlTableCompare
MysqlTableCompare(source_dsn, target_dsn, db, tab, 10, 200).run()