项目作者: camry

项目描述 :
Python 针对 MySQL 数据库表结构的差异 SQL 工具。
高级语言: Python
项目地址: git://github.com/camry/python-mysqldiff.git
创建时间: 2020-07-22T01:38:01Z
项目社区:https://github.com/camry/python-mysqldiff

开源协议:MIT License

下载


mysqldiff

注:已不在维护 Python 版本的 mysqldiff 工具,请前往 Golang 版本的 go-mysqldiff 工具。

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

使用

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

安装

  1. pip install pyinstaller
  2. pip install click
  3. pip install mysql-connector-python

打包

  1. pyinstaller -F mysqldiff.py