[英]How to run MySql in xampp server?
如何解决这个问题呢 ?
我想用php代码连接mysql服务器。 但我尝试运行mysql数据库服务,却看到此错误。
17:45:11 [mysql] Status change detected: stopped 17:45:11 [mysql]
Error: MySQL shutdown unexpectedly. 17:45:11 [mysql] This may be
due to a blocked port, missing dependencies, 17:45:11 [mysql]
improper privileges, a crash, or a shutdown by another method.
17:45:11 [mysql] Press the Logs button to view error logs and check
17:45:11 [mysql] the Windows Event Viewer for more clues 17:45:11
[mysql] If you need more help, copy and post this 17:45:11 [mysql]
entire log window on the forums
也许您应该检查您的MySQL端口是否未被占用,例如3306
您可以尝试几件事-
尝试运行mysql控制台,看看mysql是否工作正常。 如果是这样,请尝试将其连接到php并执行您的代码
以administartor身份运行xampp,然后尝试运行mysql
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.