15.7.2.1. Installing MySQL Proxy from a
Binary Distribution
If you download a binary package, you must extract and copy the package contents to your desired installation
directory. The package contains files required by MySQL Proxy, including additional Lua scripts and other
components required for execution.
To install, unpack the archive into the desired directory, then modify your PATH
environment variable so that you can use the mysql-proxy
command directly:
shell> cd /usr/localshell> tar zxf mysql-proxy-0.8.2-platform.tar.gzshell> PATH=$PATH:/usr/local/mysql-proxy-0.8.2-platform/sbin
To update the path globally on a system, you might need administrator privileges to modify the appropriate /etc/profile, /etc/bashrc, or other system
configuration file.
On Windows, you can update the PATH environment variable using this procedure:
On the Windows desktop, right-click the My Computer
icon, and select Properties.
Next select the Advanced tab from the System Properties menu that appears, and click the Environment Variables
button.
Under System Variables, select Path, then click the Edit button. The
Edit System Variable dialogue should appear.
The Microsoft Visual C++ runtime libraries are a requirement for running MySQL Proxy as of version 0.8.2. Users
that do not have these libraries must download and install the Microsoft Visual C++ 2008 Service Pack 1
Redistributable Package MFC Security Update. Use the following link to obtain the package: