查询mysql使用的搜索引擎和状态

show table status;

SELECT table_name, table_type, engine
FROM information_schema.tables
WHERE table_schema = ‘mysql’
ORDER BY table_name DESC;
查询mysql使用的搜索引擎和状态(如果需要查询某个数据库里的表搜索引擎和状态可以将table_schema字段内的mysql改为自己的数据库名)

alter table 【table_name】 engine=innodb;
修改表达的搜索引擎

猜你喜欢

转载自blog.csdn.net/fengqilai112/article/details/81669308