/python-mysqldiff

Python 针对 MySQL 数据库表结构的差异 SQL 工具。

Primary LanguagePythonMIT LicenseMIT

mysqldiff

Python 针对 MySQL 数据库表结构的差异 SQL 工具。

使用

# 查看帮助
./bin/mysqldiff --help
# 实例
./bin/mysqldiff --source user:password@host:port --db db1:db2
./bin/mysqldiff --source user:password@host:port --target user:password@host:port --db db1:db2

安装

pip install pyinstaller
pip install click
pip install mysql-connector-python

打包

pyinstaller -F mysqldiff.py