生成修改的语句
SELECT CONCAT('ALTER TABLE ',table_name,' ENGINE=InnoDB;') FROM information_schema.tables
WHERE table_schema='ambari' AND ENGINE='MyISAM';
2022-05-29 09:57:44
生成修改的语句
SELECT CONCAT('ALTER TABLE ',table_name,' ENGINE=InnoDB;') FROM information_schema.tables
WHERE table_schema='ambari' AND ENGINE='MyISAM';