问题
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.
- Open cmd.
- In cmd, go to xampp/mysql/data folder. In my case, I did the following
cd C:\xampp\mysql\data
- Run
aria_chk -r
in that directory for all.MAI
tables in the mysql subfolder. In my case,..\bin\aria_chk -r mysql\*.MAI
- Delete all
aria_log.########
files. They are present in the C:\xampp\mysql\data folder. I just renamed them for just in case (addedold_
in the beginning of their names). - Start xampp again and it should be working.
来源:https://stackoverflow.com/questions/59410692/xampp-windows-mariadb-not-starting