MySQL Proxy Command Options
1398
Format
Option File
Description
Removed
--proxy-lua-
script=file_name [1404]
proxy-lua-
script=file_name [1404]
Filename for Lua script for proxy operations
--proxy-pool-
no-change-
user [1404]
proxy-pool-
no-change-
user [1404]
Do not use the protocol CHANGE_USER
command to reset the connection when coming
from the connection pool
--proxy-read-
only-backend-
addresses=host:port [1403]
proxy-read-
only-backend-
addresses=host:port [1403]
The MySQL server host and port (read only)
--proxy-skip-
profiling [1404]
proxy-skip-
profiling [1404]
Disable query profiling
Table 15.7.
mysql-proxy
Applications Options
Format
Option File
Description
--
basedir=dir_name [1400]
basedir=dir_name [1400]
The base directory prefix for paths in the configuration
--daemon [1400]
daemon [1400]
Start in daemon mode
--defaults-
file=file_name [1400]
The configuration file to use
--event-
threads=count [1400]
event-
threads=count [1400]
The number of event-handling threads
--keepalive [1400]
keepalive [1400]
Try to restart the proxy if a crash occurs
--log-backtrace-on-
crash [1401]
log-backtrace-on-
crash [1401]
Try to invoke the debugger and generate a backtrace on
crash
--log-
file=file_name [1401]
log-
file=file_name [1401]
The file where error messages are logged
--log-
level=level [1401]
log-
level=level [1401]
The logging level
--log-use-
syslog [1401]
log-use-
syslog [1401]
Log errors to syslog
--lua-
cpath=dir_name [1401]
lua-
cpath=dir_name [1401]
Set the LUA_CPATH
--lua-
path=dir_name [1402]
lua-
path=dir_name [1402]
Set the LUA_PATH
--max-open-
files=count [1402]
max-open-
files=count [1402]
The maximum number of open files to support
--pid-
file=file_name [1405]
pid-
file=file_name [1405]
File in which to store the process ID
--plugin-
dir=dir_name [1402]
plugin-
dir=dir_name [1402]
Directory containing plugin files
--
plugins=plugin,... [1402]
plugins=plugin,... [1402]
List of plugins to load
--
user=user_name [1405]
user=user_name [1405]
The user to use when running mysql-proxy
--version [1405]
Show version information
Except as noted in the following details, all of the options can be used within the configuration file by
supplying the option and the corresponding value. For example:
[mysql-proxy]
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...