mysql 审核引擎 goInception 的基本使用
mysql 审核引擎 goInception 的基本使用 官网地址 https://github.com/hanchuanchuan/goInception 安装 git clone https://github.com/hanchuanchuan/goInception.git cd goInception 修改配置 开启备份 vim config/config.toml [inc] backup_host="127.0.0.1" backup_port=3306 backup_user="root" backup_password="123456" 启动 make parser go build -o goInception tidb-server/main.go ./goInception -config=config/config.toml pip install pymysql prettytable 代码 import pymysql import prettytable as pt tb = pt.PrettyTable() sql = '''/*--user=root;--password=123456;--host=192.168.100.90;--check=0;--port=3306;--execute=1;--backup=1;*/ inception