Solution to MySQL unexpected shutdown error in XAMPP server.

jubilantrich.com xampp server error fix


Unexpected MySQL shutdown could occur due to the following reasons;

  • Used port by different installed software
  • unexpected system shutdown, maybe due to electrical outage
  • computer being attacked by virus or malware.
  • installation of unwanted software.

The following simple guide would help you fix this issue like magic.

First of all, Stop the xampp server or MySQL.

Open to c:/xampp/mysql directory and copy the "data" folder and rename it as "data_old" or any name of your choice as a backup.

Return to your "data" folder C:/xampp/mysql and look for files with type "INFO File" and delete all of it. If the files are many and hard to locate, then sort the files by "file type" and delete it as seen in screenshot below;

jubilantrich.com-xampp-server-error


Restart the Xampp server or MySQL, it should work by now.

jubilantrich.com-xampp-server-running


Thank you for following the steps, if you have any issue or a different result, leave a comment below for further assistance.