INFORMATION_SCHEMA USER_PRIVILEGES
The USER_PRIVILEGES table provides information about global privileges. This information comes from the mysql.user grant table.
USER_PRIVILEGES
mysql.user
INFORMATION_SCHEMA
SHOW
GRANTEE
'user_name'@'host_name'
user_name
host_name
TABLE_CATALOG
NULL
PRIVILEGE_TYPE
IS_GRANTABLE
Notes:
This is a non-standard table. It takes its values from the mysql.user table.