MySQL shutdown unexpectedly xampp

Issue

My apache is running properly but mysql server is showing this error

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

I tried deleting ibdata1, ib_logfile0, ib_logfile1, ib_logfile101 files, but it didn’t workout. Help me to solve this problem.

Solution

[mysql] Press the Logs button to view error logs and check
[mysql] the Windows Event Viewer for more clues

We could use this information to help you out.

Possibilties:
incorect config – try to restore some known good config
blocked port – quite often its skype(especially older versions of skype), try changing MySQL port

Answered By – matri70boss

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published