Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 384 Bytes

show-privileges-for-user.md

File metadata and controls

13 lines (9 loc) · 384 Bytes

Show privileges for MySQL user

SHOW GRANTS FOR 'someuser'@'localhost';

You can show grants for the current user with:

SHOW GRANTS FOR CURRENT_USER;

See official documentation. Hat tip to this Server Fault post.