当前位置:Gxlcms > 数据库问题 > mysql--容器无法启动

mysql--容器无法启动

时间:2021-07-01 10:21:17 帮助过:8人阅读

docker logs 镜像名称

InnoDB: If this error appears when you are creating an InnoDB database,

InnoDB: the problem may be that during an earlier attempt you managed

InnoDB: to create the InnoDB data files, but log file creation failed.

InnoDB: If that is the case, please refer to

InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html

2020-02-28 04:17:33 1 [ERROR] Plugin ‘InnoDB‘ init function returned error.

2020-02-28 04:17:33 1 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.

2020-02-28 04:17:33 1 [ERROR] Unknown/unsupported storage engine: InnoDB

2020-02-28 04:17:33 1 [ERROR] Aborting

解决方案:

  删除MySQL目录下的ib_logfile0和ib_logfile1两个文件

 

1、cd /Users/allin1059/Downloads/data/apps/mysql

2、rm -rf ib_logfile0 ib_logfile1

技术图片

 

mysql--容器无法启动

标签:turn   mysql   failed   unknown   func   appears   ror   str   ODB   

人气教程排行