The MySQL Proxy source is available through a public Bazaar repository and is the quickest way to get the latest releases and fixes.
A build from the Bazaar repository requires that the following prerequisite components be installed:
Bazaar 1.10.0 or later.
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 only. Version 1.6 or higher is not currently supported.
autoconf 2.56 or higher.
automake 1.9 or higher.
MySQL 5.0.x or higher developer files.
The mysql-proxy source is hosted on Launchpad. To check out a local copy of the Bazaar repository, use bzr:
bzr branch lp:mysql-proxy
The preceding command downloads a complete version of the Bazaar
repository for mysql-proxy. The main source
files are located within the
subdirectory. The configuration scripts must be generated before
you can configure and build mysql-proxy. The
autogen.sh script generates the required
configuration scripts for you:
The autogen.sh script creates the standard configure script, which you then use to configure and build with make:
To create a standalone source distribution, identical to the source distribution available for download, use this command:
The preceding command creates the file
(with the corresponding current version) within the current