How to check my privileges?

How to check my user privileges?

I am interested in privileges creating a user or granting privileges to any users.

+5
source share
1 answer

You can check the privileges of the current user by running

SHOW GRANTS;

Or the privileges of ANY user by running

SHOW GRANTS FOR 'user'@'host'

Yay docs !

+11
source

All Articles