# Information Schema USER\_PRIVILEGES Table

The [Information Schema](https://mariadb.com/docs/server/reference/system-tables/information-schema) `USER_PRIVILEGES` table contains global user privilege information derived from the [mysql.global\_priv](https://mariadb.com/docs/server/reference/system-tables/the-mysql-database-tables/mysql-global_priv-table) grant table.

It contains the following columns:

| Column          | Description                                                                                                                                                                    |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GRANTEE         | In the format user\_name\@host\_name.                                                                                                                                          |
| TABLE\_CATALOG  | Always def.                                                                                                                                                                    |
| PRIVILEGE\_TYPE | The specific privilege, for example CREATE USER, RELOAD, SHUTDOWN, SELECT, INSERT, UPDATE or REFERENCES.                                                                       |
| IS\_GRANTABLE   | Whether the user has the [GRANT OPTION](https://mariadb.com/docs/server/sql-statements/account-management-sql-statements/grant#the-grant-option-privilege) for this privilege. |

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 [SHOW GRANTS](https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/show/show-grants) statement. See the [GRANT](https://mariadb.com/docs/server/reference/sql-statements/account-management-sql-statements/grant) article for more about privileges.

This information is also stored in the [mysql.global\_priv](https://mariadb.com/docs/server/reference/system-tables/the-mysql-database-tables/mysql-global_priv-table) table, in the `mysql` system database.

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

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