如何让mysql服务器在xampp中工作?
问题描述:
我最近安装了XAMPP在Windows 7.当我尝试运行MySQL,我得到以下错误:如何让mysql服务器在xampp中工作?
Error: MySQL shutdown unexpectedly.
12:27:51 PM [mysql] This may be due to a blocked port, missing dependencies,
12:27:51 PM [mysql] improper privileges, a crash, or a shutdown by another method.
12:27:51 PM [mysql] Press the Logs button to view error logs and check
12:27:51 PM [mysql] the Windows Event Viewer for more clues
12:27:51 PM [mysql] If you need more help, copy and post this
12:27:51 PM [mysql] entire log window on the forums
在my.ini中我已经改变了口,从3306到3307,因为我有一个不同的MySQL服务器5.6.19也在我的电脑上运行。但是我仍然得到同样的错误。请任何人都可以帮助我?我也卸载Xampp并再次安装它:(。
答
在尝试关闭所有聊天程序,如Skype等之前经历过,因为它使用与xampp端口80相同的端口,关闭后现在可以重新打开它运行XAMP
后+0
问题不是apache。我的问题是与Mysql和端口3306 – Alexander
答
我之前也有类似的问题,我发现的唯一解决方案是使用XAMPP的旧版本。我现在不在我的家用电脑中,现在无法为您提供适合我的确切版本,但如果有帮助,我会在后面发表评论(我的最佳猜测是1.7.5)。
与此同时,如果您使用的是最新版本的XAMPP,您可以尝试更旧的版本。
在一个解决方案中对所有人使用openfire – Mark
您是否按下了日志按钮?最后几行是什么? – Lee
@Mark:openfire是一个jabber服务器。它与获得MySQL运行有什么关系? –