back.gif

next.gif


MySQL Privileges

 

Most of MONyog functionalities do not require any privilege at all for the MySQL user, MONyog uses for its connection. The users will only need to be created without any specific global or object privileges. In terms of MySQL GRANT syntax this is equivalent to the statement "GRANT USAGE ON *.* to 'user'@'host'".

 

However, to fully enable all MONyog functionalities a little more privileges are required. Those additional privileges are:

SUPER privilege will work too. Also note that when registering servers there is an option (Is this a Replication Slave?) to include replication information. This must be 'Yes' when registering the server (default value is 'No'). If the option is set to 'No', MONyog will not attempt to retrieve that information. When performing 'Test Connection' from the server registration page MONyog will display the error message:

 

"Access denied. You need the SUPER/REPLICATION CLIENT privilege for retrieving REPLICATION details!"

(This can be ignored if the MySQL server is not a REPLICATION slave or if you don't want to monitor REPLICATION.)

If some required privilege is not enabled, MONyog will display "N/A" for the counter affected and the MONyog log will record a MySQL server error for every attempt to retrieve those counters from the server. Be aware that the log may grow considerably if this is the case!  

 

In Summary

 

To fully enable MONyog you can do this,

 

"GRANT SELECT, RELOAD, PROCESS, SUPER on *.* to 'monyoguser'@'host'"

 

But if you want to avoid the SUPER privilege then,

 

"GRANT SELECT, RELOAD, PROCESS on *.* to 'monyoguser'@'host'" is an option too (and only few MONyog features will be disabled or reduced).

 

back.gif

next.gif