当前位置:Gxlcms > 数据库问题 > 记一次修改数据库引擎的方法

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

时间:2021-07-01 10:21:17 帮助过:2人阅读

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‘);

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

标签:

人气教程排行