Beta Draft: 2016-09-26
The source code repository for MySQL Utilities includes all of the
utility code as well as the MySQL Utilities library and manual
pages. It is available as an architecture independent
distribution, in either Zip archive format
.zip file) or compressed
tar archive format
.tar.gz file), or as a RPM package
You can use this repository to install on any platform that has
Python 2.6 installed. For example, you can use the
.tar.gz version of the repository to install
MySQL Utilities on OS X or Ubuntu. Choose
"Linux - Generic" from the download page, and then the file name
After you download and unpack the repository distribution, open a
terminal window and navigate to the directory containing the file.
Then unpack the file and install MySQL Utilities using the
setup.py script as shown below.
python ./setup.py buildshell>
sudo python ./setup.py install
Using this repository requires that you have Connector/Python installed or install it separately. For additional information, see Section 1.1, “Prerequisites”.
The source code is also available as a .rpm package, which can be downloaded and uncompressed as follows. More specifically, we first unpack the .rpm package then unzip the resulting .zip file.
On Mac and some Unix systems, you can use these commands.
tar -tzvf mysql-utilities-1.6.4-1.el7.src.rpmshell>
tar -xzvf mysql-utilities-1.6.4-1.el7.src.rpmshell>
On Linux systems without native .rpm support, you can use these commands. For example, you can install rpm2cpio then run that utility to extract the .zip file then unzip it.
sudo apt-get install rpm2cpioshell>
rpm2cpio mysql-utilities-1.6.4-1.el7.src.rpm | cpio -i --make-directoriesshell>
If these commands do not work for your platform, check your platform documentation for ways to open and inspect .rpm files.