所以我试图使用我制作的这个登录系统,它开始给我一些奇怪的错误。我发现这是因为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,可以修复这些错误吗?