Moved default file search paths to gwdirs.h which is configured by CMake from gwdirs.h.in.
This commit is contained in:
@ -27,11 +27,9 @@ connection failover| When a connection currently being used between MaxScale and
|
||||
|
||||
The MaxScale configuration is read from a file which can be located in a number of placing, MaxScale will search for the configuration file in a number of locations.
|
||||
|
||||
1. If the environment variable `MAXSCALE_HOME` is set then MaxScale will look for a configuration file called `MaxScale.cnf` in the directory `$MAXSCALE_HOME/etc`.
|
||||
1. Location given with the --configdir=<path> command line argument
|
||||
|
||||
2. If `MAXSCALE_HOME` is not set or the configuration file is not in the location above MaxScale will look for a file in `/etc/MaxScale.cnf`.
|
||||
|
||||
Alternatively MaxScale can be started with the `-c` flag and the path of the MaxScale home directory tree.
|
||||
2. MaxScale will look for a configuration file called `MaxScale.cnf` in the directory `/etc/MaxScale.cnf`
|
||||
|
||||
An explicit path to a configuration file can be passed by using the `-f` option to MaxScale.
|
||||
|
||||
@ -524,7 +522,7 @@ Default value is `2`. Write Timeout is the timeout in seconds for each attempt t
|
||||
|
||||
## Protocol Modules
|
||||
|
||||
The protocols supported by MaxScale are implemented as external modules that are loaded dynamically into the MaxScale core. These modules reside in the directory `$MAXSCALE_HOME/modules`, if the environment variable `$MAXSCALE_HOME` is not set it defaults to `/usr/local/mariadb-maxscale`. It may also be set by passing the `-c` option on the MaxScale command line.
|
||||
The protocols supported by MaxScale are implemented as external modules that are loaded dynamically into the MaxScale core. These modules reside in the directory `/usr/lib64/maxscale`. The location can be overridden with the `libdir=PATH` parameter under the `[maxscale]` section. It may also be set by passing the `-B PATH` or `--libdir=PATH` option on the MaxScale command line.
|
||||
|
||||
### MySQLClient
|
||||
|
||||
|
@ -62,11 +62,9 @@ shared objects that are loaded on demand. In order for MaxScale to find these
|
||||
modules it will search using a predescribed search path. The rules are:
|
||||
|
||||
1. Look in the current directory for the module
|
||||
2. Look in $MAXSCALE_HOME/modules
|
||||
3. Look in /usr/local/mariadb-maxscale/modules
|
||||
|
||||
Configuration is read by default from the file $MAXSCALE_HOME/etc/MaxScale.cnf, /etc/MaxScale.cnf. An example file is included in in the installation and can be found in the etc/ folder within the MaxScale installation. The default value of MAXSCALE_HOME can be overridden by using the -c flag on the command line. This should be immediately followed by the path to the MaxScale home directory. The -f flag can be used on the command line to set the name and the location of the configuration file. Without path expression the file is read from \$MAXSCALE_HOME/etc directory.
|
||||
2. Look in /usr/lib64/maxscale
|
||||
|
||||
Configuration is read by default from the file /etc/MaxScale.cnf. An example file is included in in the installation and can be found in the /usr/share/maxscale folder within the MaxScale installation. The -f flag can be used on the command line to set the name and the location of the configuration file. Without path expression the file is read from the /etc directory.
|
||||
|
||||
## Administration Of MaxScale
|
||||
|
||||
|
Reference in New Issue
Block a user