Oracle 5.0 Reference Manual page 1415

Table of Contents

Advertisement

• MySQL 5.0.x or higher developer files.
After verifying that the prerequisite components are installed, configure and build MySQL Proxy:
shell>
tar zxf mysql-proxy-0.8.2.tar.gz
shell>
cd mysql-proxy-0.8.2
shell>
./configure
shell>
make
To test the build, use the
shell>
make check
The tests try to connect to
MYSQL_PASSWORD
shell>
MYSQL_PASSWORD=root_pwd make check
You can install using the
shell>
make install
By default,
mysql-proxy
scripts are installed into /usr/local/share.
15.7.2.3. Installing MySQL Proxy from the Bazaar Repository
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.
libtool
autoconf
automake
libevent
5.1.x or higher.
lua
2.4.0 or higher.
glib2
• pkg-config.
• MySQL 5.0.x or higher developer files.
The
mysql-proxy
repository, use bzr:
shell>
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
generated before you can configure and build mysql-proxy. The
required configuration scripts for you:
shell>
sh ./autogen.sh
Installing MySQL Proxy
Note
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.
target to make:
check
localhost
environment variable:
target:
install
is installed into /usr/local/sbin/mysql-proxy. The Lua example
1.5 or higher.
2.56 or higher.
1.10 or higher.
1.x or higher (1.3b or later is preferred).
source is hosted on Launchpad. To check out a local copy of the Bazaar
using the
user. To provide a password, set the
root
subdirectory. The configuration scripts must be
trunk
1395
script generates the
autogen.sh

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents