To fix this “error mysql shutdown unexpectedly in xampp” there are many ways but the simplest you can fix it in the following directions:
Method 1:
Quit your skype and try, if skype is opne
or
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:
Method 2:
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.
Method 3:
- 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.
Method 4:
The true way is RECONFIGURE your app.with setup of MYSQL .you can open your setup again and change port from 3306 to 3307.