INFORMATION_SCHEMA SCHEMA_PRIVILEGES
The SCHEMA_PRIVILEGES table provides information about schema (database) privileges. This information comes from the mysql.db grant table.
SCHEMA_PRIVILEGES
mysql.db
INFORMATION_SCHEMA
SHOW
GRANTEE
'user_name'@'host_name'
user_name
host_name
TABLE_CATALOG
NULL
TABLE_SCHEMA
PRIVILEGE_TYPE
IS_GRANTABLE
Notes:
This is a non-standard table. It takes its values from the mysql.db table.