my2sql icon indicating copy to clipboard operation
my2sql copied to clipboard

解析MySQL binlog ,可以生成原始SQL、回滚SQL、去除主键的INSERT SQL等,也可以生成DML统计信息以及大事务分析信息。

Results 23 my2sql issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/33677926/96395890-6476c900-11f8-11eb-974b-a0a37ff1e492.png) 当执行上面生成回滚语句的时候报错,提示遇到的那个库表是myisam表就直接退出了,要是不支持myisam表分析的话,能否加过滤某个数据库的功能呢

/data/rpm/my2sql -mode file -local-binlog-file /root/binlog/bigshiw_mysql-bin.000254 -work-type stats -start-file /root/binlog/bigshiw_mysql-bin.000254 -start-datetime "2025-09-30 12:20:00" -stop-datetime "2025-09-30 15:26:45" -big-trx-row-limit 500 -long-trx-seconds 30 -output-dir /root/tmpdir /data/rpm/my2sql: line 7: syntax error near unexpected token `newline'...

您好,我在使用my2sql指令解析mysql数据库binlog的DML语句时,发现指令必须携带数据库账号和密码,可能会导致生产环境数据库的密码存在泄露风险。 建议: 是否可以改成当指令中没有密码时,采用交互式让用户再次输入密码。