Connection Routing with MariaDB MaxScale
Implement simple connection-based routing. This tutorial shows how to dedicate specific ports for write and read traffic using the readconnroute router.
Setting up MariaDB MaxScale
Configuring services
[Write-Service]
type=service
router=readconnroute
router_options=master
servers=dbserv1, dbserv2, dbserv3
user=maxscale
password=maxscale_pw
[Read-Service]
type=service
router=readconnroute
router_options=slave
servers=dbserv1, dbserv2, dbserv3
user=maxscale
password=maxscale_pwConfiguring the Listener
Starting MariaDB MaxScale
Last updated
Was this helpful?

