xampp windows mariadb not starting

☆樱花仙子☆ 提交于 2020-07-22 02:51:01

问题


mariaDB is not starting in my windows 10.

I am getting the following in the logs:

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

I have searched around and could not find a fix for this issue. Xampp was working fine yesterday but did not start today. So, what I did yesterday was to clone a wordpress website to my pc using xcloner. After I cloned the website, everything was working fine. Then, I stopped mysql and apache and shutdown my pc. This morning, I got that issue.

I had face the same issue other times and I have reinstalled xampp and wordpress (bitnami versions). However, I keep getting that problem.

Any help will be greatly appreciated.


回答1:


With the help of @RiggsFolly, the following solved my issue.

  1. Open cmd.
  2. In cmd, go to xampp/mysql/data folder. In my case, I did the following cd C:\xampp\mysql\data
  3. Run aria_chk -r in that directory for all .MAI tables in the mysql subfolder. In my case, ..\bin\aria_chk -r mysql\*.MAI
  4. Delete all aria_log.######## files. They are present in the C:\xampp\mysql\data folder. I just renamed them for just in case (added old_ in the beginning of their names).
  5. Start xampp again and it should be working.


来源:https://stackoverflow.com/questions/59410692/xampp-windows-mariadb-not-starting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!