軟件來自https://github.com/danfengcao/binlog2sql
安裝軟件
git clone https://github.com/danfengcao/binlog2sql.git
cd binlog2sql/
pip install -r requirements.txt
準備好mysql賬號和需要解析的binlog日志
缺點
mysql server必須開啟,離線模式下不能解析
參數(shù)?binlog_row_image?必須為FULL,暫不支持MINIMAL
解析速度不如mysqlbinlog