[英]How can I get mysql server to work in xampp?
我最近在Windows 7中安裝了xampp。當我嘗試運行Mysql時,出現以下錯誤:
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並再次安裝它:(。
剛剛在10分鍾前解決了這個問題。
在嘗試關閉所有聊天程序(例如skype等)之前經歷了此過程,因為它使用的端口與xampp端口80相同,現在關閉后,您可以在運行xamp后重新打開它
之前我遇到過類似的問題,發現的唯一解決方案是使用舊版本的XAMPP。 目前我不在家用PC上,無法提供當前適用於我的確切版本,但是如果有幫助,我會在以后的評論中發布(我的最佳猜測是1.7.5)。
同時,如果您使用的是XAMPP的最新版本,則可以嘗試使用舊版本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.