Page 2 of 2

Re: MySQL Shutdown Unexpectedly Error, This is my log:

PostPosted: 14. November 2023 04:33
by anjanesh
subrata wrote:My first post in this group.

I had exactly the same error (in Windows 10). The fix:

1. Navigate to your XAMPP MySQL directory (C:\xampp\mysql). 2. Create a new folder called DATA_BROKEN and copy C:\xampp\mysql\backup and C:\xampp\mysql\data into this folder. 3. Paste the contents of C:\xampp\mysql\backup into C:\xampp\mysql\data, overwriting all the files. Note the dates may be older that your most recent activity. 4. Copy the ibdata1 file from C:\xampp\mysql\DATA_BROKEN \data into C:\xampp\mysql\data overwriting the file. 5. Then start MySQL (after starting xampp).

worked flawlessly. Thank you! :P :P

This worked for my on my Windows 11 machine. Thanks.