首页 > 数据库技术 > 详细

如何改变数据库存储引擎

时间:2018-02-02 16:31:28      阅读:212      评论:0      收藏:0      [点我收藏+]
更改数据库存储引擎
1:查看系统支持的存储引擎 > show engines;
2:查看表使用的存储引擎:
> show table status from `databases_name` where name = ‘table_name‘;
> show create table `table_name`;
3:修改表引擎
> alter table `table_name` engine = ‘InnoDB‘;
> show create table `table_name`;
4:通过配置文件指定存储引擎
default-storage-engine = MYISAM // 可以通过配置选项修改存储引擎
5:可以通过指定表存储引擎的方法;

如何改变数据库存储引擎

原文:https://www.cnblogs.com/laowenBlog/p/8405762.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!