码迷,mamicode.com
首页 > 数据库 > 详细

记一次修改数据库引擎的方法

时间:2016-06-12 15:12:56      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:

select concat(‘alter table ‘,table_schema,‘.‘,table_name,‘ ENGINE=NDBCLUSTER;‘)
 from information_schema.TABLES
 where table_schema in (select schema_name from information_schema.schemata where schema_name not REGEXP ‘information_schema|sys|mysql‘)
 AND (ENGINE=‘InnoDB‘ or ENGINE=‘MyISAM‘);

记一次修改数据库引擎的方法

标签:

原文地址:http://www.cnblogs.com/nbuntu/p/5577547.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!