maxscale options in 6

Overview

Option

Description

--basedir (-R)

base path for all other paths

--cachedir (-A)

path to cache directory

--config (-f)

relative or absolute pathname of config file

--config-check (-c)

validate configuration file and exit

--configdir (-C)

path to configuration file directory

--connector_plugindir (-H)

path to MariaDB Connector-C plugin directory

--datadir (-D)

path to data directory, stores internal MaxScale data

--debug (-g)

enable or disable debug features. Supported arguments: "disable-module-unloading" - disable module unloading at exit. Will produce better Valgrind leak reports if leaked memory was allocated in a shared library; "enable-module-unloading" - cancels disable-module-unloading; "redirect-output-to-file" - redirect stdout and stderr to the file given as an argument; "enable-statement-logging" - enable the logging of monitor and authenticator SQL statements sent by MaxScale to the servers; "disable-statement-logging" - disable the logging of monitor and authenticator SQL statements sent by MaxScale to the servers; "enable-cors" - enable CORS support in the REST API "allow-duplicate-servers" - allow multiple servers to have the same address/port combination; "gdb-stacktrace" - Use GDB to generate stacktraces

--execdir (-E)

path to the maxscale and other executable files

--export-config (-e)

export configuration to a single file

--help (-?)

show this help

--language (-N)

path to errmsg.sys file

--libdir (-B)

path to module directory

--log (-l)

log to file or stdout (default: file)

--log_augmentation (-G)

augment messages with the name of the function where the message was logged (default: 0)

--logdir (-L)

path to log file directory

--maxlog (-S)

log messages to MaxScale log (default: yes)

--module_configdir (-M)

path to module configuration directory

--nodaemon (-d)

enable running in terminal process

--passive (-p)

start MaxScale as a passive standby

--persistdir (-F)

path to persisted configuration directory

--piddir (-P)

path to PID file directory

--runtimedir (-r)

base path for all other paths expect binaries

--sharedir (-J)

path to share directory

--syslog (-s)

log messages to syslog (default:yes)

--user (-U)

user ID and group ID of specified user are used to run MaxScale

--version (-v)

print version info and exit

--version-full (-V)

print full version info and exit