goInception MySQL运维工具

程序名称:goInception

授权协议: GPLv3

操作系统: Linux

开发语言: Google Go

goInception 介绍

goInception是一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具,
通过对执行SQL的语法解析,返回基于自定义规则的审核结果,并提供执行和备份及生成回滚语句的功能。

goInception延用inception的使用方式,在审核的sql开始前添加注释来指定远端服务器,并在sql的前后添加特殊标识以区分待审核语句,示例如下:

/*--user=root;--password=root;--host=127.0.0.1;--check=1;--port=3306;*/
inception_magic_start;
use test;
create table t1(id int primary key);
inception_magic_commit;

goInception基于TiDB的语法解析器,和业内有名的inpcetion审核工具重构。

源码编译

go version 1.12 (go mod)

git clone https://gitee.com/hanchuanchuan/goInception.git
cd goInception
make parser
go build -o goInception tidb-server/main.go

./goInception -config=config/config.toml

goInception 官网

https://gitee.com/hanchuanchuan/goInception

相关编程语言

SchemaCrawler提供一组用于增强标准JDBC Metadata的...
ER Master 是一个用于设计ER模型图的Eclipse插件。提...
Eclipse下用于画数据库ER图的插件,主要特性如下: ...
PowerDesigner 是Sybase的企业建模和设计解决方案,...
Mogwai ERDesigner NG是一个实体关系建模工具类似于...
Power*Architect 是一个数据建模工具,主要用在数据...