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

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

问题描述

如何在MySQL上将数据库存储引擎从InnoDB转换为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<为整个服务器更改它/code> 配置设置.请注意,这实际上不会更改现有表的存储引擎,只会更改更改后创建的新表.

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天全站免登陆