All pages
Powered by GitBook
1 of 1

Loading...

Information Schema TABLE_PRIVILEGES Table

The Information Schema TABLE_PRIVILEGES table lists privileges granted specifically at the table level.

The Information Schema TABLE_PRIVILEGES table contains table privilege information derived from the mysql.tables_priv grant table.

It has the following columns:

Column
Description

GRANTEE

In the format user_name@host_name.

TABLE_CATALOG

Always def.

TABLE_SCHEMA

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

The table only shows privileges granted on the table level. This differs from the Sys Schema , which shows all privileges, broken down by table.

For a description of the privileges that are shown in this table, see .

See Also

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

Database name.

TABLE_NAME

Table name.

PRIVILEGE_TYPE

One of SELECT, INSERT, UPDATE, REFERENCES, ALTER, INDEX, DROP or CREATE VIEW.

IS_GRANTABLE

Whether the user has the GRANT OPTION for this privilege.

SHOW GRANTS
GRANT
privileges_by_table_by_level view
table privileges
sys.privileges_by_table_by_level