xampp windows mariadb 未启动

Hug*_*lan 8 windows bitnami mariadb

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
Run Code Online (Sandbox Code Playgroud)

我四处搜索,但找不到解决此问题的方法。Xampp 昨天工作正常,但今天没有开始。所以,我昨天所做的是使用 xcloner 将一个 wordpress 网站克隆到我的电脑上。克隆网站后,一切正常。然后,我停止了 mysql 和 apache 并关闭了我的电脑。今天早上,我遇到了这个问题。

我其他时候也遇到过同样的问题,我重新安装了 xampp 和 wordpress(bitnami 版本)。但是,我一直遇到这个问题。

任何帮助将不胜感激。

Hug*_*lan 23

在@RiggsFolly 的帮助下,以下解决了我的问题。

  1. 打开cmd。
  2. 在 cmd 中,转到 xampp/mysql/data 文件夹。就我而言,我执行了以下操作cd C:\xampp\mysql\data
  3. aria_chk -r在该目录中为.MAImysql 子文件夹中的所有表运行。就我而言,..\bin\aria_chk -r mysql\*.MAI
  4. 删除所有aria_log.########文件。它们存在于 C:\xampp\mysql\data 文件夹中。我只是为了以防万一(添加old_在他们名字的开头)重命名了它们。
  5. 再次启动 xampp,它应该可以工作了。

  • 只需删除 `xampp\mysql\data\aria_log.#######` 就可以解决我的问题。 (3认同)