All pages
Powered by GitBook
1 of 1

Loading...

Information Schema USER_PRIVILEGES Table

The Information Schema USER_PRIVILEGES table lists global privileges granted to user accounts, derived from the mysql.user table.

The Information Schema USER_PRIVILEGES table contains global user privilege information derived from the mysql.global_priv grant table.

It contains the following columns:

Column
Description

GRANTEE

In the format user_name@host_name.

TABLE_CATALOG

Always def.

PRIVILEGE_TYPE

The database, table and column privileges returned here are the ones granted on all databases and tables, and by implication all columns.

Similar information can be accessed with the statement. See the article for more about privileges.

This information is also stored in the table, in the mysql system database.

This page is licensed: CC BY-SA / Gnu FDL

The specific privilege, for example CREATE USER, RELOAD, SHUTDOWN, SELECT, INSERT, UPDATE or REFERENCES.

IS_GRANTABLE

Whether the user has the GRANT OPTION for this privilege.

SHOW GRANTS
GRANT
mysql.global_priv