To fix this “error mysql shutdown unexpectedly in xampp” there are many ways but the simplest you can fix it in the following directions:
Quit your skype and try, if skype is opne
Go to your xampp/wamp installed, search for httpd.conf. Open that file using textpad/notepad, search for Listen or 80 , update listen port to 8081 and save the file. Restart xampp/wamp, start the servers. or
follow below steps in skype:
If you turn on xampp that error is similar to image. You can fix it in the following ways:
Right click on taskbar and open task manager:
Find process called “mysql”:
End that task:
Start mysql again.
- Close the xampp
- Go to the folder where you installed it, if in (c:) may be something like C:\xampp\ , access folder C:\xampp\mysql\data
- Delete the file ibdata1
- Starts XAMPP again.
The true way is RECONFIGURE your app.with setup of MYSQL .you can open your setup again and change port from 3306 to 3307.