有什么命令比show tables
更详细地查看表属性?特别是,我需要知道在我继承的数据库中使用了哪些存储引擎。
最佳答案
您可以查询 information_schema直接表格。
SELECT `table_name`, `engine`
FROM `information_schema`.`tables`
WHERE `table_schema` = 'your_db'
ORDER BY `table_name` ASC
关于mysql查找表模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4499763/