Update Configuring-MariaDB-Monitor.md
Added a note to monitor creation tutorial about automated failover.
This commit is contained in:
@ -27,7 +27,13 @@ the monitor waits between each monitoring loop.
|
|||||||
The monitor user requires the REPLICATION CLIENT privileges to do basic
|
The monitor user requires the REPLICATION CLIENT privileges to do basic
|
||||||
monitoring. To create a user with the proper grants, execute the following SQL.
|
monitoring. To create a user with the proper grants, execute the following SQL.
|
||||||
|
|
||||||
```
|
```sql
|
||||||
CREATE USER 'monitor_user'@'%' IDENTIFIED BY 'my_password';
|
CREATE USER 'monitor_user'@'%' IDENTIFIED BY 'my_password';
|
||||||
GRANT REPLICATION CLIENT on *.* to 'monitor_user'@'%';
|
GRANT REPLICATION CLIENT on *.* to 'monitor_user'@'%';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note:** If the automatic failover of the MariaDB Monitor will used, the user
|
||||||
|
will require additional grants. Execute the following SQL to grant them.
|
||||||
|
```sql
|
||||||
|
GRANT SUPER on *.* to 'monitor_user'@'%';
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user