I am using MySql 5.6. Currently with the grants provided to a user, say USER_1
, it can query the system variables like @@version, @@hostname etc.
e.g.
SELECT @@VERSION;
SELECT @@HOSTNAME;
What privileges are required for that user to be able to query these system variables and more importantly, how can I revoke those privileges?