1.查看创建表时用的哪种引擎: show table status from 数据库名 where name=‘表名’;
show table status from lying
where name
='emp7';
2.修改引擎为myisam alter table 表名 engine=myisam;
alter table emp7
engine=myisam
;
注:查看整个数据库所有表使用的引擎方法: show table status from 数据库名;
show table status from lying
;