Manage MariaDB MaxScale visually with MaxGUI. This browser-based dashboard simplifies configuration, monitoring, and administration tasks for your database proxy instances.
Enable the MaxGUI dashboard by configuring the MaxScale REST API. Learn to set up network listeners, enable TLS security, and create the required administrative user credentials.
MaxGUI is a graphical utility that can perform administrative tasks using MaxScale's REST API. It is available starting in MaxScale 2.5. It supports many different operations.
MaxGUI is not available out-of-the box. MaxScale requires some configuration before MaxGUI can be used.
If you want to use MaxGUI remotely, for remote connections.
Several global parameters must be configured in maxscale.cnf.
For example:
MaxGUI requires TLS, so you must Several global parameters must be configured in maxscale.cnf.
For example:
Ensure that the admin_gui global parameter is enable. It is enabled by default, so it will only be disabled if it was previously disabled manually.
Restart the MaxScale instance.
user with MaxCtrl:
Replace maxscale_rest_admin and maxscale_rest_admin_password with the desired user and password.
named admin with MaxCtrl:
Visit MaxGUI in your web browser.
For example:
If you were accessing it from local host with the default port, then you would visit this address:
If you were accessing it with the above example configuration, then you would visit this address:
Enter your user and password to login.
This page is: Copyright © 2025 MariaDB. All rights reserved.
• This parameter defines the network address that the REST API listens on.• The default value is 127.0.0.1.
• This parameter defines the network port that the REST API listens on.• The default value is 8989.
* This parameter defines the private key used by the REST API.
* This parameter defines the certificate used by the REST API.
*This parameter defines the CA certificate that signed the REST API's certificate.
[maxscale]
...
admin_host = 0.0.0.0
admin_port = 8443[maxscale]
...
admin_ssl_key=/certs/server-key.pem
admin_ssl_cert=/certs/server-cert.pem
admin_ssl_ca_cert=/certs/ca-cert.pem$ sudo systemctl restart maxscale$ maxctrl --secure
--user=admin
--password=mariadb
--hosts=192.0.2.100:8443
--tls-key=/certs/client-key.pem
--tls-cert=/certs/client-cert.pem
--tls-ca-cert=/certs/ca.pem
create user "maxscale_rest_admin" "maxscale_rest_admin_password" --type=admin$ maxctrl --secure
--user=maxscale_rest_admin
--password=maxscale_rest_admin_password
--hosts=192.0.2.100:8443
--tls-key=/certs/client-key.pem
--tls-cert=/certs/client-cert.pem
--tls-ca-cert=/certs/ca.pem
destroy user "admin"Safely remove a server from rotation using the MaxGUI dashboard. This guide shows how to enable maintenance mode to stop traffic routing and gracefully drain connections for upgrades.
When using MaxScale, it is often necessary to temporarily remove a server from the load balancing pool without actually shutting down the server. This is usually needed to perform maintenance on the server, such as when upgrading the server's software or when performing schema upgrades.
MaxScale allows users to set servers to "maintenance mode", which prevents MaxScale from routing traffic to the server and prevents it from being elected as the new primary server during failover or switchover.
MaxGUI is a graphical utility that can perform administrative tasks using MaxScale's MaxScale's REST API. It can be used to set a server to maintenance mode.
.
Visit MaxGUI in your web browser. For example, if you are accessing it from local host with the default port, then visit this address:
Enter your username and password to log in.
On the dashboard, the "Servers" tab is shown by default.
Visit MaxGUI in your web browser. For example, if you are accessing it from local host with the default port, then visit this address:
Enter your user and password to login.
On the dashboard, the "Servers" tab is shown by default.
This page is: Copyright © 2025 MariaDB. All rights reserved.
Click the server that you want to set to maintenance mode. This will bring up a page for the specific server.
Click the gear icon at the top left corner of the page next to the server name. This will show some options in a popup.
Click the pause icon. This will open a popup window.
Click the "Maintain" button. If the specified server is a primary server, then MaxScale will allow open transactions to complete before closing any connections.
Click the server that you want to set to maintenance mode. This will bring up a page for the specific server.
Click the gear icon at the top left corner of the page next to the server name. This will show some options in a popup.
Click the pause icon. This will open a popup window.
Check the "Force closing" checkbox.
Click the "Maintain" button. When the "Force closing" checkbox is specified, MaxScale immediately close all connections, even if the server is a primary server that has open transactions.