How to check my user privileges?
I am interested in privileges creating a user or granting privileges to any users.
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 !