ERROR 1289 (HY000): The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working

mysql开启Innodb引擎

1、stop mysql
2、编辑my.cnf文件,把skip-innodb注释
3、在数据库目录中把ibdata1、ib_logfile0、ib_logfile1 这三个文件删掉
4、start mysql