修改my.cnf
[mysqld] 后加入
default-storage-engine=InnoDB后
否启动mysql时会遇到下述错误:
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported table type: InnoDB
[ERROR] Aborting
删除mysql,data目录下的ib_logfile0,ib_logfile1
启动mysql
转载于:https://blog.51cto.com/304076020/1546559