1、查询表中使用什么存储引擎,用【show create table 表名;】 命令;如show create table goods;
2、更换存储引擎,用【alter table 表名 engine=新引擎;】命令,如 alter table goods engine=MyISAM; (默认存储引擎为InnoDB)
3、事物处理涉及的三个重要命令:begin(开始)、commit(提交)、rollback(回滚)
4、将自动提交功能置为ON(开)或OFF(关),分别使用【set autocommit=1;】,【set autocommit=0;】命令
5、部分回滚,回到保存点,使用【savepoint 保存点名】和【rollback to savepoint 保存点名】命令