Find which tables use INNODB with MySQL

by Rekha 2010-01-28 14:26:16

The SQL to do this queries the INFORMATION_SCHEMA and is as follows:

SELECT table_schema, table_name
FROM INFORMATION_SCHEMA.TABLES
WHERE engine = 'innodb';


table_schema is the name of the database.

table_name is (obviously) the name of the table.

The above query will list the table names whose engine is innodb.

Tagged in:

965
like
0
dislike
0
mail
flag

You must LOGIN to add comments