前言
实习工作中需要用到Mysqldbcompare,这是一个Mysql官方的工具,用来比较两个数据库结构的。于是去Mysql官网查看下载界面,发现对Mac的支持的.dmg包只到10.7(Lion),而我的系统版本已经10.12 +了,于是只能着手源码编译安装。
工具及环境
OS:10.12.1 (Sierra)
Python:2.6 +
Mysql
步骤
一、 安装MySQL Connector/Python
> brew cask install mysql-connector-python
二、 下载Mysql Utilities源码包,并编译安装。
> mkdir temp
> cd temp/
> wget https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-utilities-1.6.4.tar