以管理员身份运行cmd

启动:输入 net stop mysql

停止:输入 net start mysql

进入:mysql -u root -p


如果没有innoDB引擎或者报错( The  'InnoDB'  feature  is  disabled;  you  need  MySQL  built  with 'InnoDB'  to  have  IT  working )


修改my.in,找到skip-innodb,在前面加上#,然后用上面的步骤重启


注意!!!mysql只有innodb才支持事务回滚