Show tables by engine in MySQL

Kit Peters picture Kit Peters · Nov 11, 2009 · Viewed 68.2k times · Source

How would I show all tables in MySQL with a given engine, e.g. InnoDB, MyISAM, FEDERATED?

Answer

ChssPly76 picture ChssPly76 · Nov 11, 2009

Use INFORMATION_SCHEMA.TABLES table:

SELECT table_name FROM INFORMATION_SCHEMA.TABLES
  WHERE engine = 'InnoDB'