标签:
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