1
votes

I Get This Error Message Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues If you need more help, copy and post this entire log window on the forums

enter image description here

3
Have you checked the Windows Event Viewer for more clues? Have you posted the log text to the XAMPP forum?Matthew Strawbridge
plx if you accepted my answer, upvote it :)seven

3 Answers

1
votes

It looks like you already have mysql running from different distribution (appserv) on the same port (3306).

You are inside a XAMPP control panel. which is different Windows LAMP distribution (xampp) which cannot start/stop appserv's mysql server instance.

IMHO you should pick one and uninstall other.

0
votes

You should try have a look on this post, the MySQL port (3306) is in use or blocked:

Xampp and MySQL not started

0
votes

You can try running this in command shell:

netstat -b -p TCP

Look for the results under local address. It will be something like 'localhost:3306'. It will list the port and the applications using it. Check the application that is listed for 3306