How to select the MySQL's engine name of some table by sql query?
Question
How to select the MySQL's engine name of some table. MyISAM or InnoDB. Can we do it by a simple sql query?
Solution
Try
SHOW TABLE STATUS FROM db_name
OTHER TIPS
You can also use the INFOMATION_SCHEMA database:
SELECT ENGINE FROM TABLES WHERE TABLE_NAME LIKE 'words';
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow