SHOW GRANT

Displays all privileges (including inherited, denied, and granted) that affect the specified object.

Syntax

SHOW GRANT [user] ON [CATALOG | DATABASE <database-name> | TABLE <table-name> | VIEW <view-name> | FUNCTION <function-name> | ANONYMOUS FUNCTION | ANY FILE]

Example

SHOW GRANT `<user>@<domain-name>` ON DATABASE <database-name>