My Oracle Support Banner

Gathering MySQL 8 Roles and Privilege Information Assigned To Users WITHOUT Using SHOW GRANTS (Doc ID 2563305.1)

Last updated on JULY 17, 2020

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.


How to gather information on the MySQL 8 Roles and Privileges assigned to a user WITHOUT using SHOW GRANTS


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 List the active and inactive roles available on the system:
 Roles assigned to a user:
 Global Privileges for a user/role:
 Privileges for a user/role:

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.