更改数据库引擎
    更改方式1:修改配置文件my.ini
    将my-small.ini另存为my.ini,在[mysqld]后面添加default-storage-engine=InnoDB,重启服务,数据库默认的引擎修改为InnoDB
    更改方式2:在建表的时候指定
    建表时指定:
    create table mytbl( id int primary key, name varchar(50) )type=MyISAM;
    更改方式3:建表后更改
    alter table mytbl2 type = InnoDB;