存储引擎
1、查看支持的存储引擎:show engines; 或者 show engines \g
通过SQL语句show variables来查看所支持的存储引擎:show variables like 'have%';
2、操作默认存储引擎
(1)查询默认存储引擎:show variables like 'storage_engine%';
(2)修改默认存储引擎
如果想把默认存储引擎设置为MyISAM,只需修改成“default-storage-engine=MyISAM”即可实现。