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 similar to
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.
shell> unzip mysql-utilities-1.5.6.zip shell> cd mysql-utilities-1.5.6 shell> python ./setup.py build shell> 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.
shell> tar -tzvf mysql-utilities-1.5.6-1.el7.src.rpm shell> tar -xzvf mysql-utilities-1.5.6-1.el7.src.rpm shell> unzip mysql-utilities-1.5.6.zip
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.
shell> sudo apt-get install rpm2cpio shell> rpm2cpio mysql-utilities-1.5.6-1.el7.src.rpm | cpio -i --make-directories shell> unzip mysql-utilities-1.5.6.zip
If these commands do not work for your platform, check your platform documentation for ways to open and inspect .rpm files.