mysql crashes instantly - InnoDB: Missing MLOG_CHECKPOINT

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

mysql crashes instantly - InnoDB: Missing MLOG_CHECKPOINT

Postby 2nweb » 23. January 2022 15:29

I've been using XAMPP portable for over 10 years now, and have been getting this and similar crashes only in the past year or so. I had been getting around the repeated mysql\data corruptions by keeping a "fresh" copy of the data folder zipped, and just overwriting it whenever the crashes happened. That's not working any longer. Starting mysql just dumps out immediately, and restoring mysql\data has no effect.

Log:
2022-01-23 9:50:04 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-01-23 9:50:04 0 [Note] InnoDB: Uses event mutexes
2022-01-23 9:50:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-01-23 9:50:04 0 [Note] InnoDB: Number of pools: 1
2022-01-23 9:50:04 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-01-23 9:50:04 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-01-23 9:50:04 0 [Note] InnoDB: Completed initialization of buffer pool
2022-01-23 9:50:04 0 [ERROR] InnoDB: Missing MLOG_CHECKPOINT at 6416151 between the checkpoint 6416151 and the end 6416142.
2022-01-23 9:50:04 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-01-23 9:50:05 0 [Note] InnoDB: Starting shutdown...
2022-01-23 9:50:05 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-01-23 9:50:05 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2022-01-23 9:50:05 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-01-23 9:50:05 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2022-01-23 9:50:05 0 [ERROR] Aborting

It looks like InnoDB: Missing MLOG_CHECKPOINT at 6416151 between the checkpoint 6416151 and the end 6416142. is the issue, but MLOG_CHECKPOINT doesn't show any results in a search of the forum.

Windows 11
XAMPP 7.4.24 portable
2nweb
 
Posts: 2
Joined: 23. January 2022 14:48
XAMPP version: 7.4.24
Operating System: Windows 11 Home

Re: mysql crashes instantly - InnoDB: Missing MLOG_CHECKPOIN

Postby jklaze » 07. February 2022 09:25

It's been quite annoying to me too, but I figured out an easy workaround for when it happens: just delete all the 'ib_logfile' files.
I don't really know why this solves the problem but as long as I can work without having to export/import the db every week I won't mind about it. :roll:
jklaze
 
Posts: 1
Joined: 07. February 2022 09:21
XAMPP version: 3.3.0
Operating System: windows 11

Re: mysql crashes instantly - InnoDB: Missing MLOG_CHECKPOIN

Postby 2nweb » 07. February 2022 13:30

Thanks, I'll try that next time.
2nweb
 
Posts: 2
Joined: 23. January 2022 14:48
XAMPP version: 7.4.24
Operating System: Windows 11 Home

Re: mysql crashes instantly - InnoDB: Missing MLOG_CHECKPOIN

Postby skallsen » 12. February 2022 03:54

The same problem for me, but removing the ib_logfile files is not fixing the issue.
I removed everything from xampp\mysql\data that this suggestion and other sources suggested.
Started Apache and then MySQL again, with these results:
8:58:37 PM [main] The FileZilla module is disabled
8:58:37 PM [main] The Mercury module is disabled
8:58:37 PM [main] The Tomcat module is disabled
8:58:37 PM [main] Starting Check-Timer
8:58:37 PM [main] Control Panel Ready
8:58:44 PM [Apache] Attempting to start Apache app...
8:58:45 PM [Apache] Status change detected: running
8:58:59 PM [mysql] Attempting to start MySQL app...
8:58:59 PM [mysql] Status change detected: running
8:59:01 PM [mysql] Status change detected: stopped
8:59:01 PM [mysql] Error: MySQL shutdown unexpectedly.
8:59:01 PM [mysql] This may be due to a blocked port, missing dependencies,
8:59:01 PM [mysql] improper privileges, a crash, or a shutdown by another method.
8:59:01 PM [mysql] Press the Logs button to view error logs and check
8:59:01 PM [mysql] the Windows Event Viewer for more clues
8:59:01 PM [mysql] If you need more help, copy and post this
8:59:01 PM [mysql] entire log window on the forums

and I end up with this in that same folder:

aria_log.00000004
aria_log_control
ib_buffer_pool
ib_logfile0
ib_logfile1
ibdata1
my.ini
mysql_error.log

The log:
2022-02-11 21:04:44 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-02-11 21:04:44 0 [Note] InnoDB: Uses event mutexes
2022-02-11 21:04:44 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-02-11 21:04:44 0 [Note] InnoDB: Number of pools: 1
2022-02-11 21:04:44 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-02-11 21:04:44 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-02-11 21:04:44 0 [Note] InnoDB: Completed initialization of buffer pool
2022-02-11 21:04:44 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile101 size to 5242880 bytes
2022-02-11 21:04:44 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5242880 bytes
2022-02-11 21:04:44 0 [Note] InnoDB: Renaming log file C:\xampp\mysql\data\ib_logfile101 to C:\xampp\mysql\data\ib_logfile0
2022-02-11 21:04:44 0 [Note] InnoDB: New log files created, LSN=5330462
2022-02-11 21:04:44 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-02-11 21:04:44 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-02-11 21:04:44 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-02-11 21:04:44 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-02-11 21:04:44 0 [Note] InnoDB: Waiting for purge to start
2022-02-11 21:04:44 0 [Note] InnoDB: 10.4.22 started; log sequence number 5330956; transaction id 2905
2022-02-11 21:04:44 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-02-11 21:04:44 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-02-11 21:04:44 0 [Note] Server socket created on IP: '::'.

I also tested it after changing my port to 3308, just to see if that was the issue, but it was not.

Thanks for offering any new advice!
skallsen
 
Posts: 1
Joined: 12. February 2022 02:53
XAMPP version: 8.1.1
Operating System: Windows 11

Re: mysql crashes instantly - InnoDB: Missing MLOG_CHECKPOIN

Postby snehalatha1912 » 07. April 2024 02:16

This worked for me thanks
snehalatha1912
 
Posts: 1
Joined: 07. April 2024 02:14
XAMPP version: 8.0.3
Operating System: window


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 156 guests