xampp MySQL startup error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

xampp MySQL startup error

Postby richardferrym » 09. March 2023 05:27

Every month or so for the last several months, xampp MySQL fails to startup.

As most solutions I've found recommend, I've been replacing my xampp/mysql/data folder with xampp/mysql/backup. This works as expected and xampp starts normally, but the backup folder does not have my databases and tables in it.

I've tried copying the old xampp/mysql/data/mydatabase into the new xampp/mysql/data directory with the backup files, but when I click on the database in phpmyadmin, I'm getting "table foo does not exist in engine" error. Even If I can't get xampp mysql working with my old databases and tables, is there a way I can backup the database structures and data? (exporting from phpmyadmin doesn't work).

mysql_error.log:

Code: Select all
Cannot find checkpoint record at LSN (1,0x589f)
2023-03-02 18:52:56 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2023-03-02 18:52:56 0 [ERROR] Plugin 'Aria' init function returned error.
2023-03-02 18:52:56 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2023-03-02 18:52:56 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-03-02 18:52:56 0 [Note] InnoDB: Uses event mutexes
2023-03-02 18:52:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-03-02 18:52:56 0 [Note] InnoDB: Number of pools: 1
2023-03-02 18:52:56 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-03-02 18:52:56 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-03-02 18:52:56 0 [Note] InnoDB: Completed initialization of buffer pool
2023-03-02 18:52:56 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-03-02 18:52:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-03-02 18:52:56 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-03-02 18:52:56 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2023-03-02 18:52:56 0 [Note] InnoDB: Waiting for purge to start
2023-03-02 18:52:56 0 [Note] InnoDB: 10.4.27 started; log sequence number 3634443; transaction id 11188
2023-03-02 18:52:56 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2023-03-02 18:52:56 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-03-02 18:52:56 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2023-03-02 18:52:56 0 [ERROR] Failed to initialize plugins.
2023-03-02 18:52:56 0 [ERROR] Aborting
richardferrym
 
Posts: 5
Joined: 09. March 2023 05:19
XAMPP version: 8.2.0
Operating System: Windows 11

Re: xampp MySQL startup error

Postby richardferrym » 11. March 2023 03:39

fixed by removing all files (files only, folder not included) on folder C:\xampp\mysql\data except file: ibdata1, ibtmp1, ib_logfile0, and ib_logfile1.
Sent from Android 15 Vanilla Ice Cream
richardferrym
 
Posts: 5
Joined: 09. March 2023 05:19
XAMPP version: 8.2.0
Operating System: Windows 11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 134 guests