Ross ROSS = Recommend OSS · open-source software intelligence for agents

danfengcao/binlog2sql

Parse MySQL binlog to SQL you want observed · 2026-08-28

github.com/danfengcao/binlog2sql · Python · GPL-3.0 (copyleft) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3560
  • days_rel: n/a
  • days_push: 1590
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3553 stars · 1062 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Python CLI tool that parses MySQL row-format binary logs and converts them into standard SQL, rollback (flashback) SQL, or INSERT statements without primary keys. It is used for fast data recovery after accidental DML and for repairing data loss after master-slave failover.

Use cases

  • recover accidentally deleted rows in mysql
  • generate rollback sql from mysql binlog
  • flashback a database after a bad update
  • repair data loss on new master after failover
  • extract insert update delete statements from binlog
  • audit who changed data in mysql

When to choose

  • you need to undo accidental DML on MySQL 5.6/5.7 with row-based binlog
  • you want human-readable SQL from binlog events instead of raw binlog output
  • you need point-in-time rollback SQL filtered by database, table, or SQL type

When to avoid

  • your MySQL uses statement-based binlog format or binlog_row_image is not full
  • you run MySQL 8.0+ and need guaranteed compatibility or official support
  • you need a GUI or continuous replication tool rather than one-off binlog parsing

Facets

cli-tool · maturity maintenance

database parser backup developer-tools databases developer-tools python cli windows mysql binlog flashback data-recovery rollback sql-generation data-engineering linux macos

1 source

Member repositories

RepositoryRoleHealth v2
danfengcao/binlog2sqlmain32

For agents

markdown · JSON · MCP: product_card(name="danfengcao/binlog2sql")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem