所以我試圖使用我製作的這個登錄系統,它開始給我奇怪的錯誤。我發現這是因爲MySQL沒有啓動。所以我試圖啓動它,但它不會。下面是日誌:無法在XAMPP中啓動MySQL?
10:06:12 PM [mysql] Attempting to start MySQL app...
10:06:12 PM [mysql] Status change detected: running
10:06:13 PM [mysql] Status change detected: stopped
10:06:13 PM [mysql] Error: MySQL shutdown unexpectedly.
10:06:13 PM [mysql] This may be due to a blocked port, missing dependencies,
10:06:13 PM [mysql] improper privileges, a crash, or a shutdown by another method
10:06:13 PM [mysql] Check the "/xampp/mysql/data/mysql_error.log" file
10:06:13 PM [mysql] and the Windows Event Viewer for more clues
這裏是一些比較顯着的線在錯誤日誌(mysql_error.log):
130318 22:06:12 InnoDB: Database was not shut down normally!
130318 22:06:12 InnoDB: Waiting for the background threads to start
130318 22:06:13 InnoDB: 1.1.8 started; log sequence number 1599518
130318 22:06:13 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130318 22:06:13 [Note] - '0.0.0.0' resolves to '0.0.0.0';
130318 22:06:13 [Note] Server socket created on IP: '0.0.0.0'.
130318 22:06:13 [ERROR] Fatal error: Can't open and lock privilege tables: Can't
find file: 'host' (errno: 2)
可這些錯誤被固定而無需重新安裝XAMPP?
可能是其他一些服務可能使用mysql端口 – 2013-03-19 03:38:46
從Skype退出。 – 2013-03-19 03:40:26
沒有安裝skype – 2013-03-19 03:46:38