You can download a source package and compile the MySQL Proxy yourself. To build from source, you must have the following prerequisite components installed:
libevent 1.4 or higher.
lua 5.1.x only. lua 5.2.x is not currently supported.
glib2 2.16.0 or higher.
libtool 1.5.x or higher.
autoconf 2.56 or higher.
automake 1.10 or higher, up to 1.12.x. It is not possible to use version 1.13 or higher.
MySQL 5.0.x or higher developer files.
On some operating systems, you might need to manually build the required components to get the latest version. If you have trouble compiling MySQL Proxy, consider using a binary distributions instead.
After verifying that the prerequisite components are installed, configure and build MySQL Proxy:
tar zxf mysql-proxy-0.8.5.tar.gzshell>
To test the build, use the
check target to
You can install using the
By default, mysql-proxy is installed into
/usr/local/sbin/mysql-proxy. The Lua
example scripts are installed into