Blogger Information
Blog 65
fans 1
comment 1
visits 119009
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
修改查看mysql 的存储引擎
技术宅的博客
Original
1389 people have browsed it

Myisam  主要用于存储文章什么的 

InonDb  主要是用于事务  


看你的mysql现在已提供什么存储引擎:
mysql> show engines;

看你的mysql当前默认的存储引擎:
mysql> show variables like '%storage_engine%';

你要看某个表用了什么引擎(在显示结果里参数engine后面的就表示该表当前用的存储引擎):
mysql> show create table 表名;

修改存储引擎

ALTER TABLE my_table ENGINE=InnoDB

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post