Oracle 5.0 Reference Manual page 1418

Table of Contents

Advertisement

Format
Option File
--proxy-lua-
proxy-lua-
script=file_name [1404]
script=file_name [1404]
--proxy-pool-
proxy-pool-
no-change-
no-change-
user [1404]
user [1404]
--proxy-read-
proxy-read-
only-backend-
only-backend-
addresses=host:port [1403]
addresses=host:port [1403]
--proxy-skip-
proxy-skip-
profiling [1404]
profiling [1404]
Table 15.7.
mysql-proxy
Format
--
basedir=dir_name [1400]
--daemon [1400]
--defaults-
file=file_name [1400]
--event-
threads=count [1400]
--keepalive [1400]
--log-backtrace-on-
crash [1401]
--log-
file=file_name [1401]
--log-
level=level [1401]
--log-use-
syslog [1401]
--lua-
cpath=dir_name [1401]
--lua-
path=dir_name [1402]
--max-open-
files=count [1402]
--pid-
file=file_name [1405]
--plugin-
dir=dir_name [1402]
--
plugins=plugin,... [1402]
--
user=user_name [1405]
--version [1405]
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]
MySQL Proxy Command Options
Description
Filename for Lua script for proxy operations
Do not use the protocol CHANGE_USER
command to reset the connection when coming
from the connection pool
The MySQL server host and port (read only)
Disable query profiling
Applications Options
Option File
Description
basedir=dir_name [1400]
The base directory prefix for paths in the configuration
daemon [1400]
Start in daemon mode
The configuration file to use
event-
The number of event-handling threads
threads=count [1400]
keepalive [1400]
Try to restart the proxy if a crash occurs
log-backtrace-on-
Try to invoke the debugger and generate a backtrace on
crash [1401]
crash
log-
The file where error messages are logged
file=file_name [1401]
log-
The logging level
level=level [1401]
log-use-
Log errors to syslog
syslog [1401]
lua-
Set the LUA_CPATH
cpath=dir_name [1401]
lua-
Set the LUA_PATH
path=dir_name [1402]
max-open-
The maximum number of open files to support
files=count [1402]
pid-
File in which to store the process ID
file=file_name [1405]
plugin-
Directory containing plugin files
dir=dir_name [1402]
plugins=plugin,... [1402]
List of plugins to load
user=user_name [1405]
The user to use when running mysql-proxy
Show version information
1398
Removed

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents