海天的页首,暂无

mysql批量修改表引擎

生成修改的语句

SELECT CONCAT('ALTER TABLE ',table_name,' ENGINE=InnoDB;') FROM information_schema.tables

WHERE table_schema='ambari' AND ENGINE='MyISAM';

posted @ 2016-11-25 15:54  海天网  阅读(347)  评论(0编辑  收藏  举报
海天的页脚,暂无