How would I show all tables in MySQL with a given engine, e.g. InnoDB, MyISAM, FEDERATED?
Inside the workbench right click the table in question and click "Select Rows - Limit 1000." It's the first option in the pop-up menu. Show activity on this post. To get the convenient list of tables on the left panel below each database you have to click the tiny icon on the top right of the left panel.
To open, right-click a table in the object browser of the Navigator pane and choose Table Inspector from the context menu. The Table Inspector shows information related to the table.
Add default-storage-engine=InnoDB in [mysqld] section of the my. cnf file for the default engine to be active. Use the 'show create table table_name' command to view default engine in the table.
Use INFORMATION_SCHEMA.TABLES
table:
SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE engine = 'InnoDB'
If you want the results from a single database
SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'dbname' AND engine = 'InnoDB';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With