2013-11-25 348 views
0

這是我在嘗試在xampp上啓動mysql時得到的錯誤消息,我昨晚才使用它,但它今天不會啓動,任何幫助表示讚賞。mysql將無法在xampp上啓動

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

你可以添加mysql錯誤日誌到你的問題嗎? – evuez

+0

[XAMPP - MySQL意外關閉]的可能重複(http://stackoverflow.com/questions/18022809/xampp-mysql-shutdown-unexpectedly) – evuez

回答

0

檢查你是否有相同的端口上運行的另一個MySQL服務。 您可以通過

Start -> Run, type in services.msc, click OK. 

找到服務面板一旦你找到它,將其關閉,並嘗試啓動XAMPP的mysql服務。

0

最近可能安裝了wamp。您需要更改wamp服務器上的mysql端口,例如3008.並重新啓動您的xampp服務器。