MySql-将InnoDB转换为数据库的MyISAM存储引擎 [英] MySql - Convert InnoDB to MyISAM Storage Engine of Database

查看:61
本文介绍了MySql-将InnoDB转换为数据库的MyISAM存储引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将数据库存储引擎从InnoDB转换为MySQL上的MyISAM? 我发现有很多站点可以转换数据库表的存储引擎,但不能转换数据库.

How to convert database storage engine from InnoDB to MyISAM on MySQL? I found so many sites which convert the storage engine of database table, but not for database.

提前谢谢.

推荐答案

您不能更改数据库的默认存储引擎,但是可以使用default-storage-engine配置设置为整个服务器更改它.请注意,这实际上不会更改现有表的存储引擎,而只会更改后创建的新表.

You can't change the default storage engine for a database, but you can change it for the whole server using the default-storage-engine config setting. Note that this will not actually change the storage engine for existing tables though, just for new ones created after the change.

这篇关于MySql-将InnoDB转换为数据库的MyISAM存储引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆