Documentation Home
MySQL 9.1 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.3Mb
PDF (A4) - 40.4Mb
Man Pages (TGZ) - 259.3Kb
Man Pages (Zip) - 366.4Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 9.1 Reference Manual  /  ...  /  The INFORMATION_SCHEMA APPLICABLE_ROLES Table

28.3.3 The INFORMATION_SCHEMA APPLICABLE_ROLES Table

The APPLICABLE_ROLES table provides information about the roles that are applicable for the current user.

The APPLICABLE_ROLES table has these columns:

  • USER

    The user name part of the current user account.

  • HOST

    The host name part of the current user account.

  • GRANTEE

    The user name part of the account to which the role is granted.

  • GRANTEE_HOST

    The host name part of the account to which the role is granted.

  • ROLE_NAME

    The user name part of the granted role.

  • ROLE_HOST

    The host name part of the granted role.

  • IS_GRANTABLE

    YES or NO, depending on whether the role is grantable to other accounts.

  • 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.