2014-02-20 42 views
0

當XAMPP控制面板啓動MySQL我碰到下面的錯誤錯誤:MySQL的意外關閉

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

我一直有這個問題與MySQL沒有啓動,所以我已經重新安裝了XAMPP。 MYsql然後工作,但今天當再次開始我得到了上述錯誤。我搜索了谷歌找到一個解決方案,我也刪除了這個文件ibdata1在以下目錄C:\ xampp2 \ mysql \ data但是Mysql沒有啓動可能。我在日誌文件一看,我收到以下錯誤

2014-02-20 14:35:16 6528 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 

而且,在我使用Grails配置的MySQL這一切開始冬眠,所以我想可以在是問題,爲什麼我不能在Xampp中啓動MySQL?

+0

是它以前運行的 - 你需要保留的任何數據? – BillyBigPotatoes

+0

我之前遇到過同樣的錯誤,於是我重新安裝了XAMPP,它確實工作了一段時間,然後我嘗試着今天啓動mysql,但它正在關閉。不,因爲我沒有任何重要的數據可以保存。 – Sky

回答

1

您可以花費很多時間試圖找出問題所在 - 安裝在頂部可以創建儘可能多的問題。

我建議你去幹淨安裝,因爲你沒有數據擔心。

  1. 卸載XAMPP
  2. 刪除/移動目錄C:\ xampp2 \
  3. 重啓
  4. INSTAL XAMPP

測試