If you download the binary packages, then you need to extract the package and copy the contents of the package to your desired installation directory. Files required by MySQL Proxy, including additional Lua scripts and other components required for execution.
To install, unpack the archive into the desired directory, and
then modify your PATH
environment variable so
that you can use the mysql-proxy command
directly:
shell> cd /usr/local shell> tar zxf mysql-proxy-0.7.2
-osx10.5
.tar.gz shell> PATH=$PATH:/usr/local/mysql-proxy-0.7.2-osx10.5-x86
/sbin
If you want to update the path globally on a system, you may
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 by:
On the Windows desktop, right-click on 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, and then click the Edit button. The Edit System Variable dialogue should appear.