Add a Database without MaxScale
Register a standalone MariaDB Server, or a primary/replica or Galera topology without MaxScale, in Enterprise Manager and link the monitoring agent on each server.
Use this method for a single MariaDB Server or to manually define a Primary/Replica or Galera cluster.
Prepare your server(s)
First, perform these actions on each MariaDB Server you plan to add.
Install the Agent package.
# For Red Hat/CentOS/Rocky
sudo dnf install -y mema-agent# For Debian/Ubuntu
sudo apt install -y mema-agent# For SLES
sudo zypper install -y mema-agentCreate the Enterprise Manager user (allows the Enterprise Manager server to connect remotely):
CREATE USER 'monitor'@'<Enterprise_Manager_IP>' IDENTIFIED BY '<password>';
GRANT REPLICA MONITOR ON *.* TO 'monitor'@'<Enterprise_Manager_IP>';Replace <Enterprise_Manager_IP> with the IP of your Enterprise Manager server and <password> with a secure password.
Create the Local Agent user (required for the agent to collect detailed metrics from the local database instance):
CREATE USER 'monitor'@'localhost' IDENTIFIED BY '<password>';
GRANT PROCESS, BINLOG MONITOR, REPLICA MONITOR, REPLICATION MASTER ADMIN ON *.* TO 'monitor'@'localhost';Replace <password> with a secure password.
Register in the UI
Go to your MariaDB Enterprise Manager web interface (for example
https://<Enterprise_Manager_IP>:8090).Log in with user who has
editpermission.Begin the Add Database process:
If this is your first time and no databases are present, you'll be on the "Add Database" screen automatically.
If you already have other databases, click the + Add Database button.
Ensure the Database without MaxScale option is selected.

Fill in the connection details for your first server using the Enterprise Manager User (
'monitor'@'<Enterprise_Manager_IP>').
Standalone server or a Topology
To add a Standalone Server: Click Add and proceed to the next step (4).
To create a Topology:
Click the Plus icon (+) to add another server.

Fill in the connection details for the second server in your topology and click Confirm. Repeat for all nodes in your topology.
Once all nodes are added, select the Topology Type (e.g., Primary/Replica — default — or Galera Cluster) and click Confirm.

Link the Agent(s) 🔗
For each server added, link its agent:
Find the server in the inventory list, click the three-dot menu (⋮), and select Metrics configuration. You need the
adminrole.
Enter the credentials for the Local Agent User (
'monitor'@'localhost') to generate a setup command.
Copy the command and run it on that server's terminal to link the agent.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?


