binary
Full path to the MySQL Proxy binary. For example, "/usr/sbin/mysql-proxy".
(optional, string, default "/usr/sbin/mysql-proxy")
client_binary
Location of the MySQL client binary.
(optional, string, default "mysql")
defaults_file
Full path to a MySQL Proxy configuration file. For example, "/etc/mysql-proxy.conf".
(optional, string, no default)
proxy_backend_addresses
Address:port of the remote back-end servers (default: 127.0.0.1:3306).
(optional, string, default "127.0.0.1:3306")
proxy_read_only_backend_addresses
Address:port of the remote (read only) unpromoted-server (default: ).
(optional, string, no default)
proxy_address
Listening address:port of the proxy server (default: :4040). You can also specify a socket like
"/var/run/mysql-proxy.sock".
(optional, string, default ":4040")
log_level
Log all messages of level (error|warning|info|message|debug|) or higher. An empty value disables
logging.
(optional, string, no default)
keepalive
Try to restart the proxy if it crashed (default: ). Valid values: true or false. An empty value
equals "false".
(optional, string, no default)
plugins
Whitespace separated list of plugins to load (default: ). Note: The admin plugin will be auto-loaded
in case you specify an admin_* parameter.
(optional, string, no default)
admin_address
Listening address:port of the admin plugin (default: 127.0.0.1:4041). Note: The admin plugin will be
auto-loaded in case you specify an admin_* parameter.
(optional, string, default "127.0.0.1:4041")
admin_username
Username for the admin plugin (default: ). Required since MySQL Proxy 0.8.1, if the admin plugin is
loaded. Note: The admin plugin will be auto-loaded in case you specify an admin_* parameter.
(optional, string, no default)
admin_password
Password for the admin plugin (default: ). Required since MySQL Proxy 0.8.1, if the admin plugin is
loaded. Note: The admin plugin will be auto-loaded in case you specify an admin_* parameter.
(optional, string, no default)
admin_lua_script
Script to execute by the admin plugin. Required since MySQL Proxy 0.8.1, if the admin plugin is
loaded. Note: The admin plugin will be auto-loaded in case you specify an admin_* parameter.
(optional, string, no default)
test_table
Table to be tested in monitor statement (in database.table notation)
(optional, string, default "mysql.user")
test_user
MySQL test user
(optional, string, no default)
test_passwd
MySQL test user password
(optional, string, no default)
parameters
The MySQL Proxy daemon may be called with additional parameters. Specify any of them here.
(optional, string, no default)
pidfile
PID file
(unique, optional, string, default "/run/resource-agents/mysql-proxy-RESOURCE_ID.pid")