Skip to content
Advertisement

MySQL shutdown unexpectedly xampp

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.

Advertisement

Answer

[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

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement