PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.3Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5
TheSCHEMA_PRIVILEGES table provides information about schema (database) privileges. It takes its values from themysql.db system table.
TheSCHEMA_PRIVILEGES table has these columns:
GRANTEEThe name of the account to which the privilege is granted, in
'format.user_name'@'host_name'TABLE_CATALOGThe name of the catalog to which the schema belongs. This value is always
def.TABLE_SCHEMAThe name of the schema.
PRIVILEGE_TYPEThe privilege granted. The value can be any privilege that can be granted at the schema level; seeSection 13.7.1.4, “GRANT Statement”. Each row lists a single privilege, so there is one row per schema privilege held by the grantee.
IS_GRANTABLEYESif the user has theGRANT OPTIONprivilege,NOotherwise. The output does not listGRANT OPTIONas a separate row withPRIVILEGE_TYPE='GRANT OPTION'.
Notes
SCHEMA_PRIVILEGESis a nonstandardINFORMATION_SCHEMAtable.
The following statements arenot equivalent:
SELECT ... FROM INFORMATION_SCHEMA.SCHEMA_PRIVILEGESSHOW GRANTS ...PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.3Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5