修改MySQL数据表默认引擎

在生产环境中由于业务的特殊要求可能需要修改MySQL数据表的默认引擎。
修改方法一:


修改方法二、
①:首先使用mysqldump对数据库、表备份;
②:通过nohup sed -e 's#MyISAM#InnoDB#g' xx.sql > xxx.sql &
修改方法三、

申明:本文由BYRD原创(基于Mysql5.6.16),未经许可禁止转载!文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/modify-default-mysql-engine/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/modify-default-mysql-engine/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onJuly 17, 2014
  • 原文链接:https://note.t4x.org/database/modify-default-mysql-engine/
匿名

Comment

Anonymous

Slide puzzle verification.