Solution to MySQL unexpected shutdown error in XAMPP server.
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;



0 Comments
Dear reader, if you think of a different or an alternative way to achieve this solution, kindly share you idea in the comment section. Thank you.