[英]mysql lookup table schema
What's a more detailed command for seeing table properties than show tables
? 查看表属性比
show tables
更详细的命令是什么? In particular, I need to know what storage engines are being used in a database that I've inherited. 特别是,我需要知道在我继承的数据库中使用了哪些存储引擎。
You could query the information_schema tables directly. 您可以直接查询information_schema表。
SELECT `table_name`, `engine`
FROM `information_schema`.`tables`
WHERE `table_schema` = 'your_db'
ORDER BY `table_name` ASC
show table status like '<tablename>'
show create table <tablename>
describe <tablename>
show indexes from <tablename>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.