Adding Databases
Option 1: Adding a Standalone Server or Topology (Without MaxScale)
1
Prepare your server(s)
# For Red Hat/CentOS/Rocky
sudo dnf install -y mema-agent# For Debian/Ubuntu
sudo apt install -y mema-agentCREATE USER 'monitor'@'<Enterprise_Manager_IP>' IDENTIFIED BY '<password>';
GRANT REPLICA MONITOR ON *.* TO 'monitor'@'<Enterprise_Manager_IP>';CREATE USER 'monitor'@'localhost' IDENTIFIED BY '<password>';
GRANT PROCESS, BINLOG MONITOR, REPLICA MONITOR, REPLICATION MASTER ADMIN ON *.* TO 'monitor'@'localhost';Option 2: Adding a Topololgy (With MaxScale)
1
Prepare all servers in the topology
# For Red Hat/CentOS/Rocky
sudo dnf install -y mema-agent# For Debian/Ubuntu
sudo apt install -y mema-agentCREATE USER 'monitor'@'localhost' IDENTIFIED BY '<password>';
GRANT PROCESS, BINLOG MONITOR, REPLICA MONITOR, REPLICATION MASTER ADMIN ON *.* TO 'monitor'@'localhost';Last updated
Was this helpful?









