1,838   MySQL

1,支持的存储引擎

>show engines;

2,查询默认存储引擎;

>show variables like '%storage_engine%';

3,查询表格存储引擎;

>show table status from db_name where name='table_name';

4,修改表格存储引擎

>alter table table_name engine=InnoDB;

5,查看相关参数

>SHOW VARIABLES like "%autocommit%";

6,修改相关参数

>set autocommit = 0;



Leave a Reply

Your email address will not be published. Required fields are marked *