Oracle 5.0 Reference Manual page 1424

Table of Contents

Advertisement

The host name (or IP address) and port of the MySQL server to connect to. You can specify multiple
backend servers by supplying multiple options. Clients are connected to each backend server in
round-robin fashion. For example, if you specify two servers A and B, the first client connection will
go to server A; the second client connection to server B and the third client connection to server A.
When using this option on the command line, you can specify the option and the server multiple
times to specify multiple backends. For example:
shell>
mysql-proxy --proxy-backend-addresses 192.168.0.1:3306 --proxy-backend-addresses 192.168.0.2:3306
When using the option within the configuration file, you should separate multiple servers by commas.
The equivalent of the preceding example would be:
...
proxy-backend-addresses = 192.168.0.1:3306,192.168.0.2:3306
--proxy-pool-no-change-user
Command-Line Format
Option-File Format
Disable use of the MySQL protocol
pool of connections specified by the
--proxy-skip-profiling
Command-Line Format
Option-File Format
Disable query profiling (statistics time tracking). The default is for tracking to be enabled.
--proxy-fix-bug-25371
Version Removed
Command-Line Format
Option-File Format
Enable a workaround for an issue when connecting to a MySQL server later than 5.1.12 when using
a MySQL client library of any earlier version.
This option was removed in
at the protocol level if it sees a
5.1.14 to 5.1.17.
--proxy-lua-script=file_name
Command-Line Format
Option-File Format
The Lua script file to be loaded. Note that the script file is not physically loaded and parsed until
a connection is made. Also note that the specified Lua script is reloaded for each connection;
MySQL Proxy Command Options
Type
string
Default
127.0.0.1:3306
[1404]
--proxy-pool-no-change-user
proxy-pool-no-change-user
command when reusing a connection from the
CHANGE_USER
proxy-backend-addresses
[1404]
--proxy-skip-profiling
proxy-skip-profiling
[1404]
0.8.1
--proxy-fix-bug-25371
proxy-fix-bug-25371
0.8.1. Now,
mysql-proxy
being sent to a server that has a version from
COM_CHANGE_USER
[1404],
-s file_name
--proxy-lua-script=file_name
-s file_name
proxy-lua-script=file_name
Permitted Values
Type
file name
1404
list.
returns an error message
mysql-proxy

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents