Oracle 5.0 Reference Manual page 1423

Table of Contents

Advertisement

When using the option within the configuration file, you should separate multiple plugins by commas.
The equivalent of the preceding example would be:
...
plugins=proxy,admin
--proxy-address=host:port
Command-Line Format
Option-File Format
The listening host name (or IP address) and port of the proxy server. The default is
port 4040).
--proxy-read-only-backend-addresses=host:port
Command-Line Format
Option-File Format
The listening host name (or IP address) and port of the proxy server for read-only connections. The
default is for this information not to be set.
Note
Setting this value only configures the servers within the corresponding
internal structure (see
determine the backend type by checking the
You should therefore only use this option in combination with a script
designed to make use of the different backend types.
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-read-only-backend-addresses=192.168.0.1:3306 --proxy-read-only-backend-add
When using the option within the configuration file, you should separate multiple servers by commas.
The equivalent of the preceding example would be:
...
proxy-read-only-backend-addresses = 192.168.0.1:3306,192.168.0.2:3306
--proxy-backend-addresses=host:port
Command-Line Format
Option-File Format
MySQL Proxy Command Options
[1403],
-P host:port
--proxy-address=host:port
-P host:port
proxy-address=host:port
Permitted Values
Type
string
Default
:4040
--proxy-read-only-backend-addresses=host:port
-r host:port
proxy-read-only-backend-addresses=host:port
Permitted Values
Type
string
proxy.global.backends
[1403],
--proxy-backend-addresses=host:port
-b host:port
proxy-backend-addresses=host:port
Permitted Values
1403
[1403],
-r host:port
[1411]). You can
field for each connection.
type
-b host:port
(all IPs on
:4040

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents