MySql stops automatically

孤人 提交于 2021-01-29 04:33:43

问题


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


回答1:


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.




回答2:


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

Xampp and MySQL not started




回答3:


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



来源:https://stackoverflow.com/questions/41554429/mysql-stops-automatically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!