MYSQL未启动(InnoDB:插件初始化中止,错误为一般错误)

MYSQL未启动(InnoDB:插件初始化中止,错误为一般错误),mysql,innodb,Mysql,Innodb,我重新启动了我的服务器,因为它冻结了(可能是迄今为止我做的最愚蠢的事情),然后出现了一些内部服务器错误。我很快发现mysql在启动时失败(服务mysql状态)。 我阅读了mysql错误日志()并开始谷歌搜索 我正在运行Ubuntu的最新版本,mysql版本14.14发行版5.7.31,Linux(x86_64),使用EditLine包装器。 我尝试的是: 删除/var/lib/mysql中的两个ib_日志文件(备份后) 容易升级(我真的不知道为什么) -检查my.cf是否存在错误 这是我的/

我重新启动了我的服务器,因为它冻结了(可能是迄今为止我做的最愚蠢的事情),然后出现了一些内部服务器错误。我很快发现mysql在启动时失败(服务mysql状态)。 我阅读了mysql错误日志()并开始谷歌搜索

我正在运行Ubuntu的最新版本,mysql版本14.14发行版5.7.31,Linux(x86_64),使用EditLine包装器。 我尝试的是:

  • 删除/var/lib/mysql中的两个ib_日志文件(备份后)
  • 容易升级(我真的不知道为什么) -检查my.cf是否存在错误
这是我的/var/log/mysql/error.log

2020-08-07T15:43:06.094116Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-08-07T15:43:06.095903Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.31-0ubuntu0.18.04.1) starting as process 952 ...
2020-08-07T15:43:06.100450Z 0 [Note] InnoDB: PUNCH HOLE support available
2020-08-07T15:43:06.100482Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-08-07T15:43:06.100489Z 0 [Note] InnoDB: Uses event mutexes
2020-08-07T15:43:06.100496Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-08-07T15:43:06.100502Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-07T15:43:06.100508Z 0 [Note] InnoDB: Using Linux native AIO
2020-08-07T15:43:06.100771Z 0 [Note] InnoDB: Number of pools: 1
2020-08-07T15:43:06.100876Z 0 [Note] InnoDB: Using CPU crc32 instructions
2020-08-07T15:43:06.102827Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-08-07T15:43:06.112754Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-07T15:43:06.114871Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-08-07T15:43:06.127135Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2020-08-07T15:43:06.128655Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 7945493345
2020-08-07T15:43:06.128723Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 7945545114
2020-08-07T15:43:06.130551Z 0 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 7945493345 and the end 7945545114.
2020-08-07T15:43:06.130573Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-08-07T15:43:06.732437Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-07T15:43:06.732470Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-07T15:43:06.732482Z 0 [ERROR] Failed to initialize builtin plugins.
2020-08-07T15:43:06.732491Z 0 [ERROR] Aborting
 
2020-08-07T15:43:06.732526Z 0 [Note] Binlog end
2020-08-07T15:43:06.732586Z 0 [Note] Shutting down plugin 'CSV'
2020-08-07T15:43:06.732959Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
如果您需要更多日志/信息,我将提供它们。
谢谢,我真的很绝望,我真的不想失去过去两年的生活。

在删除ib_logfile0、ib_logfile1和ibdata1之前,我在InnoDB recovery mod 4中启动了mysql,并登录到phpmyadmin备份我所有的数据库。之后,我删除了ib文件,清除了mysql和phpmyadmin,重新安装了它们,重新配置了mysql,登录到phpmyadmin并导入了我的数据库