I was working on my localhost developing a web site and my battery run out literally just seconds before I could stop Apache and MySql. When I got my cable and started xampp I got this problem. Apache would start ok but MySql would just start for 5sec. and than I would get this message:
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
It look like the port 3306 is still in use.
I have XAMPP 1.8.2. (xampp control panel 3.2.1.), windows xp sp2
I hope this is not a big problem. If you need more information I am happy to provide that info.