Problems:
- [mysql] Error: MySQL shutdown unexpectedly.
- [mysql] This may be due to a blocked port, missing dependencies,
- [mysql] improper privileges, a crash, or a shutdown by another method.
- [mysql] Press the Logs button to view error logs and check
- [mysql] the Windows Event Viewer for more clues
- [mysql] If you need more help, copy and post this
- [mysql] entire log window on the forums
Solution:
- Go to your xampp folder
- Then go to mysql/data/
- Delete ibdata1 or you may rename it to ibdata1.bak
- Start MySQL
It should fix it.