mariaDB 未在我的 Windows 10 中启动。
我在日志中收到以下内容:
Cannot find checkpoint record at LSN (1,0x5c8f)
2019-12-19 9:18:13 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2019-12-19 9:18:13 0 [ERROR] Plugin 'Aria' init function returned error.
2019-12-19 9:18:13 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
InnoDB: using atomic writes.
2019-12-19 9:18:13 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-12-19 9:18:13 0 [Note] InnoDB: Uses event mutexes
2019-12-19 9:18:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-12-19 9:18:13 0 [Note] InnoDB: Number of pools: 1
2019-12-19 9:18:13 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-12-19 9:18:13 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-12-19 9:18:13 0 [Note] InnoDB: Completed initialization of buffer pool
2019-12-19 9:18:14 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-12-19 9:18:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-12-19 9:18:14 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-12-19 9:18:14 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-12-19 9:18:14 0 [Note] InnoDB: Waiting for purge to start
2019-12-19 9:18:14 0 [Note] InnoDB: 10.4.10 started; log sequence number 42992145; transaction id 110929
2019-12-19 9:18:14 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-12-19 9:18:14 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-12-19 9:18:14 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2019-12-19 9:18:14 0 [Note] InnoDB: Buffer pool(s) load completed at 191219 9:18:14
2019-12-19 9:18:14 0 [ERROR] Failed to initialize plugins.
2019-12-19 9:18:14 0 [ERROR] Aborting
我四处搜寻,找不到解决此问题的方法。 Xampp 昨天工作正常,但今天没有启动。所以,我昨天所做的是使用 xcloner 将 WordPress 网站克隆到我的电脑上。克隆网站后,一切正常。然后,我停止了 mysql 和 apache 并关闭了我的电脑。今天早上,我遇到了这个问题。
我其他时候也遇到过同样的问题,我已经重新安装了xampp和wordpress(bitnami版本)。但是,我一直遇到这个问题。
任何帮助将不胜感激。
在@RiggsFolly的帮助下,以下解决了我的问题。
xampp/mysql/data folder
。
cd C:\xampp\mysql\data
aria_chk -r
表运行 .MAI
。
..\bin\aria_chk -r mysql\*.MAI
aria_log.########
文件。它们位于 C:\xampp\mysql\data 文件夹中。我只是为了以防万一而重命名了它们(在它们的名字开头添加了old_
)。我尝试了答案1的解决方案,它看起来很棒,但在我的例子中,从cmd我得到了文件xampp\mysql\data\mysql*.mai的权限被拒绝的错误。 相反,我找到了另一个解决方案。
注意:缺点是你会丢失使用数据库权限创建的用户,就我而言,这并不是一个很大的损害,因为我本地只有四个站点,而且我很容易在 phpmyadmin 中重新创建用户。
整个过程需要 5 分钟,即使没有 cmd,您也可以处理文件夹和文件: