INFORMATION_SCHEMA provides access to metadata about the MySQL server, including information such as database and table names, column data types, and user access privileges.
The following MySQL INFORMATION_SCHEMA views can be accessed using the ODBC driver.
| View |
Description |
| CHARACTER_SETS |
Lists available character sets and attributes. |
| COLLATIONS |
Lists collations and related character sets supported by the server. |
| SCHEMATA |
Provides information about databases (schemas) accessible to the current user. |
Tables and columns
| View |
Description |
| COLUMNS |
Provides information about columns in tables and views. |
| STATISTICS |
Provides information about table indexes and related statistics. |
| TABLES |
Provides information about tables and views in databases accessible to the current user. |
Constraints
Routines and triggers
| View |
Description |
| EVENTS |
Lists scheduled events managed by the Event Manager. |
| ROUTINES |
Lists stored procedures and functions. |
| TRIGGERS |
Lists triggers defined in the database. |
Privileges