# maxscale --help
Usage : maxscale [OPTION]...
-c, --config-check validate configuration file and exit
-e, --export-config=FILE export configuration to a single file
-d, --nodaemon enable running in terminal process
-f, --config=FILE relative or absolute pathname of config file
-l, --log=[file|shm|stdout] log to file, shared memory or stdout
(default: file)
-L, --logdir=PATH path to log file directory
-A, --cachedir=PATH path to cache directory
-B, --libdir=PATH path to module directory
-C, --configdir=PATH path to configuration file directory
-D, --datadir=PATH path to data directory,
stores internal MaxScale data
-E, --execdir=PATH path to the maxscale and other executable files
-F, --persistdir=PATH path to persisted configuration directory
-M, --module_configdir=PATH path to module configuration directory
-H, --connector_plugindir=PATH
path to MariaDB Connector-C plugin directory
-N, --language=PATH path to errmsg.sys file
-P, --piddir=PATH path to PID file directory
-R, --basedir=PATH base path for all other paths
-U, --user=USER user ID and group ID of specified user are used to
run MaxScale
-s, --syslog=[yes|no] log messages to syslog (default:yes)
-S, --maxlog=[yes|no] log messages to MaxScale log (default: yes)
-G, --log_augmentation=0|1 augment messages with the name of the function
where the message was logged (default: 0)
-p, --passive start MaxScale as a passive standby
-g, --debug=arg1,arg2,... 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 SQL statements sent by MaxScale to the servers
disable-statement-logging disable the logging of SQL statements sent by MaxScale to the servers
-v, --version print version info and exit
-V, --version-full print full version info and exit
-?, --help show this help
Defaults paths:
config file : /etc/maxscale.cnf
configdir : /etc
logdir : /var/log/maxscale
cachedir : /var/cache/maxscale
libdir : /usr/lib64/maxscale
datadir : /var/lib/maxscale
execdir : /usr/bin
language : /var/lib/maxscale
piddir : /var/run/maxscale
persistdir : /var/lib/maxscale/maxscale.cnf.d
module configdir : /etc/maxscale.modules.d
connector plugins : /var/lib/plugin
If '--basedir' is provided then all other paths, including the default
configuration file path, are defined relative to that. As an example,
if '--basedir /path/maxscale' is specified, then, for instance, the log
dir will be '/path/maxscale/var/log/maxscale', the config dir will be
'/path/maxscale/etc' and the default config file will be
'/path/maxscale/etc/maxscale.cnf'.
MaxScale documentation: https://mariadb.com/kb/en/mariadb-enterprise/mariadb-maxscale-21/
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme