> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-table_privileges-table.md).

# Information Schema TABLE\_PRIVILEGES Table

The [Information Schema](/docs/server/reference/system-tables/information-schema.md) `TABLE_PRIVILEGES` table contains table privilege information derived from the [mysql.tables\_priv](/docs/server/reference/system-tables/the-mysql-database-tables/mysql-tables_priv-table.md) grant table.

It has the following columns:

| Column          | Description                                                                                                                                                              |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GRANTEE         | In the format user\_name\@host\_name.                                                                                                                                    |
| TABLE\_CATALOG  | Always def.                                                                                                                                                              |
| TABLE\_SCHEMA   | 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](/docs/server/reference/sql-statements/account-management-sql-statements/grant.md#the-grant-option-privilege) for this privilege. |

Similar information can be accessed with the [SHOW GRANTS](/docs/server/reference/sql-statements/administrative-sql-statements/show/show-grants.md) statement. See the [GRANT](/docs/server/reference/sql-statements/account-management-sql-statements/grant.md) article for more about privileges.

The table only shows privileges granted on the table level. This differs from the Sys Schema [privileges\_by\_table\_by\_level view](/docs/server/reference/system-tables/sys-schema/sys-schema-views/privileges_by_table_by_level-sys-schema-view.md), which shows all privileges, broken down by table.

For a description of the privileges that are shown in this table, see [table privileges](/docs/server/reference/sql-statements/account-management-sql-statements/grant.md#table-privileges).

## See Also

* [sys.privileges\_by\_table\_by\_level](/docs/server/reference/system-tables/sys-schema/sys-schema-views/privileges_by_table_by_level-sys-schema-view.md)

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
