# hanchuanchuan/goInception

一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具

Repository: https://github.com/hanchuanchuan/goInception
Canonical: https://ross.abutalabs.com/products/goinception
Homepage: https://hanchuanchuan.github.io/goInception/
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: go, inception, tidb
Last push: 2024-11-01T13:12:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2866, "days_push": 670, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1743, forks 596 (observed 2026-08-28T04:05:30.487132+00:00)

## What it is
goInception is a MySQL maintenance tool that audits, executes, backs up, and generates rollback statements for SQL. It parses SQL syntax using the TiDB parser and returns review results based on customizable audit rules, acting as a MySQL-protocol service.

## Use cases
- audit SQL statements before executing them on MySQL
- generate rollback statements for executed DDL/DML changes
- review SQL against custom rule sets in a CI pipeline
- integrate SQL review into a platform like Archery
- back up binlog data when executing changes
- check SQL syntax and risk level before deployment

## When to choose
- you need automated SQL review with configurable rules for MySQL
- you want rollback statement generation for safer schema changes
- you are building or using a SQL audit platform such as Archery

## When to avoid
- you need a general-purpose MySQL client or GUI
- your target database is not MySQL-compatible (limited TiDB support)
- you need a full database migration framework rather than an audit/execution service

## Facets
- artifact type: cli-tool
- maturity: active
- function: database, parser, security, backup, developer-tools
- domain: databases, developer-tools
- platform: windows, cli, go
- tags: sql-audit, mysql, tidb-parser, rollback, sql-review, database-operations, devops, automation, linux, macos, docker

## Member repositories
- hanchuanchuan/goInception (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.487132+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:33.589314+00:00, confidence not recorded.
  - readme: https://github.com/hanchuanchuan/goInception (fetched 2026-08-28T04:05:30.487132+00:00, sha 1f2fa2f17201)
  - homepage: https://hanchuanchuan.github.io/goInception/ (fetched 2026-08-29T11:07:14.598286+00:00, sha f91adf6a7219)
- Data as of 2026-08-30T08:39:29.467469+00:00.
