![background image](http://html1.mh-extra.com/html/oracle/5-0/5-0_reference-manual_16461961423.webp)
MySQL Proxy Command Options
1403
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
[1403]
,
-P host:port
Command-Line Format
--proxy-address=host:port
-P host:port
Option-File Format
proxy-address=host:port
Permitted Values
Type
string
Default
:4040
The listening host name (or IP address) and port of the proxy server. The default is
:4040
(all IPs on
port 4040).
•
--proxy-read-only-backend-addresses=host:port
[1403]
,
-r host:port
Command-Line Format
--proxy-read-only-backend-addresses=host:port
-r host:port
Option-File Format
proxy-read-only-backend-addresses=host:port
Permitted Values
Type
string
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
proxy.global.backends
[1411]
). You can
determine the backend type by checking the
type
field for each connection.
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-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-read-only-backend-addresses = 192.168.0.1:3306,192.168.0.2:3306
•
--proxy-backend-addresses=host:port
[1403]
,
-b host:port
Command-Line Format
--proxy-backend-addresses=host:port
-b host:port
Option-File Format
proxy-backend-addresses=host:port
Permitted Values
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...