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/local
shell>tar zxf mysql-proxy-0.8.5-
shell>platform
.tar.gzPATH=$PATH:/usr/local/mysql-proxy-0.8.5-
platform
/bin
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:
This is not required on Windows 8 or higher as the Visual C++ runtime libraries are bundled with that version of Windows.
http://www.microsoft.com/download/en/details.aspx?id=26368
User Comments