Xampp MySql错误:MySQL意外关闭

问题描述

我的Xampp MySql无法启动。建议在此论坛的其他地方将文件名C:\ xampp \ mysql \ data \ ibdata1更改为ibdata1.bak,然后关闭Xampp。但这没有帮助。有办法解决这个问题吗?

2020-09-17 17:19:47 2 [ERROR] InnoDB: Page [page id: space=33,page number=1] log sequence number 402782 is in the future! Current system log sequence number 47064.
2020-09-17 17:19:47 2 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2020-09-17 17:19:47 0 [Note] InnoDB: 10.4.11 started; log sequence number 47055; transaction id 347965
2020-09-17 17:19:47 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-09-17 17:19:47 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-09-17 17:19:47 0 [ERROR] InnoDB: Page [page id: space=0,page number=243] log sequence number 336525986 is in the future! Current system log sequence number 47064.
2020-09-17 17:19:47 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2020-09-17 17:19:47 0 [ERROR] InnoDB: Page [page id: space=0,page number=309] log sequence number 332378035 is in the future! Current system log sequence number 47064.
2020-09-17 17:19:47 0 [Note] Server socket created on IP: '::'.
2020-09-17 17:19:47 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespac

解决方法

您的文件(可能是日志文件)和PC的时间有冲突!

日志序列号402782位于未来

  1. 检查您的PC时间并实时同步!
  2. 删除所有日期时间比PC日期时间长的文件(如果可能,如果没有,请在正确的日期中创建一个新文件)。例如,您的PC日期是2019-xx-xx,文件是2020-xx-xx。

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...