MXS-1635 Allow using specific address when connecting

In some cases you might want to use a specific address/interface
when connecting to a server instead of the default one. With the
global parameter 'local_address' it can now be specified which
address to use.
This commit is contained in:
Johan Wikman
2018-01-31 16:14:14 +02:00
parent 7093a5bdf8
commit 7ae931ce9c
5 changed files with 114 additions and 2 deletions

View File

@ -537,6 +537,17 @@ This will log all statements that cannot be parsed completely. This may be
useful if you suspect that MariaDB MaxScale routes statements to the wrong
server (e.g. to a slave instead of to a master).
#### `local_address`
What specific local address/interface to use when connecting to servers.
This can be used for ensuring that MaxScale uses a particular interface
when connecting to servers, in case the computer MaxScale is running on
has multiple interfaces.
```
local_address=192.168.1.254
```
### Service
A service represents the database service that MariaDB MaxScale offers to the