MySQL Monitoring Account Authorization

 

1 mysql> grant select,process,replication client on *.* to monitor@'43.82.209.x' identified by '123';
2 mysql> flush privileges;

process: the user can execute SHOW PROCESSLIST and KILL command. By default, each user can execute SHOW PROCESSLIST command, but can only search the user's process.
replication client: can query the master server, slave server status.

Guess you like

Origin www.cnblogs.com/crossworld/p/11568802.html