Documentation Home
MySQL 8.3 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 294.0Kb
Man Pages (Zip) - 409.0Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
Excerpts from this Manual

MySQL 8.3 Reference Manual  /  ...  /  The INFORMATION_SCHEMA ENABLED_ROLES Table

28.3.12 The INFORMATION_SCHEMA ENABLED_ROLES Table

The ENABLED_ROLES table provides information about the roles that are enabled within the current session.

The ENABLED_ROLES table has these columns:

  • ROLE_NAME

    The user name part of the granted role.

  • ROLE_HOST

    The host name part of the granted role.

  • IS_DEFAULT

    YES or NO, depending on whether the role is a default role.

  • IS_MANDATORY

    YES or NO, depending on whether the role is mandatory.