How to check my privileges?
How check my user privileges?
I am interested in privileges creat开发者_JAVA技巧e user or grant privileges 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!
精彩评论