bitscn.com
mysql中show常用语句
查看引擎:
show engines/g
看某一个表的存储引擎,就是看该表的创建过程
show create table [tb_name]/g
show table status like '[tb_name]'/g;
select table_name,engine from tables where table_name='[tb_name]' and table_schema='[db_name]'/g
--修改存储引擎:
alter table city engine=myisam;
bitscn.com