Skip to main content
SHOW ROLES displays all roles in the system. You can use SHOW GRANTS FOR ROLE <role_name>; to view the privileges of a specific role. For more information, see SHOW GRANTS. This command is supported from v3.0.

Tip Only users with the user_admin role has the privilege to perform this operation.

Syntax

Return fields:

Examples

Display all roles in the system.

References