2

所以从路由器打开端口,关闭防火墙并且没有 Skype 我仍然无法让 MySQL 继续运行。它运行然后立即崩溃。这两个日志可以在下面找到。我安装了多个 xampp,但删除了除原始文件外的所有内容,并关闭了自动进程。我还可以做些什么?

7:09:46 PM  [main]  Initializing Control Panel
7:09:46 PM  [main]  Windows Version: Windows 7 Home Premium SP1 64-bit
7:09:46 PM  [main]  XAMPP Version: 1.8.2
7:09:46 PM  [main]  Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
7:09:46 PM  [main]  Running with Administrator rights - good!
7:09:46 PM  [main]  XAMPP Installation Directory: "c:\users\bfalcon\documents\xampp\"
7:09:46 PM  [main]  Checking for prerequisites
7:09:50 PM  [main]  All prerequisites found
7:09:50 PM  [main]  Initializing Modules
7:09:50 PM  [Apache]    Initializing module...
7:09:50 PM  [Apache]    Checking for module existence...
7:09:50 PM  [Apache]    Checking for required tools...
7:09:50 PM  [Apache]    Checking for service (name="Apache2.4"): Service not     installed
7:09:50 PM  [Apache]    Service Path: Service Not Installed
7:09:50 PM  [Apache]    Checking default ports...
7:09:50 PM  [mysql]     Initializing module...
7:09:50 PM  [mysql]     Checking for module existence...
7:09:50 PM  [mysql]     Checking for required tools...
7:09:50 PM  [mysql]     Checking for service (name="mysql"): Service not installed
7:09:50 PM  [mysql]     Service Path: Service Not Installed
7:09:50 PM  [mysql]     Checking default ports...
7:09:50 PM  [filezilla]     Initializing module...
7:09:50 PM  [filezilla]     Checking for module existence...
7:09:50 PM  [filezilla]     Checking for required tools...
7:09:50 PM  [filezilla]     Checking for service (name="FileZillaServer"): Service not     installed
7:09:50 PM  [filezilla]     Service Path: Service Not Installed
7:09:50 PM  [filezilla]     Checking default ports...
7:09:50 PM  [mercury]   Initializing module...
7:09:50 PM  [mercury]   Checking for module existence...
7:09:50 PM  [mercury]   Checking for required tools...
7:09:50 PM  [mercury]   Checking default ports...
7:09:50 PM  [Tomcat]    Initializing module...
7:09:50 PM  [Tomcat]    Checking for module existence...
7:09:51 PM  [Tomcat]    Checking for required tools...
7:09:51 PM  [Tomcat]    Checking for service (name="Tomcat7"): Service not installed
7:09:51 PM  [Tomcat]    Service Path: Service Not Installed
7:09:51 PM  [Tomcat]    Checking default ports...
7:09:51 PM  [main]  Starting Check-Timer
7:09:51 PM  [main]  Control Panel Ready
7:09:54 PM  [Apache]    Checking default ports...
7:09:54 PM  [Apache]    Attempting to start Apache app...
7:09:54 PM  [Apache]    Executing "c:\users\bfalcon\documents\xampp\apache\bin\httpd.exe"
7:09:54 PM  [Apache]    Return code: 0
7:09:55 PM  [Apache]    Status change detected: running
7:10:03 PM  [mysql]     Checking default ports...
7:10:03 PM  [mysql]     Attempting to start MySQL app...
7:10:03 PM  [mysql]     Executing     ""c:\users\bfalcon\documents\xampp\mysql\bin\mysqld.exe" --defaults-    file="c:\users\bfalcon\documents\xampp\mysql\bin\my.ini" --standalone"
7:10:04 PM  [mysql]     Return code: 0
7:10:04 PM  [mysql]     Status change detected: running
7:10:04 PM  [mysql]     Status change detected: stopped
7:10:04 PM  [mysql]     Error: MySQL shutdown unexpectedly.
7:10:04 PM  [mysql]     This may be due to a blocked port, missing dependencies, 
7:10:04 PM  [mysql]     improper privileges, a crash, or a shutdown by another method.
7:10:04 PM  [mysql]     Press the Logs button to view error logs and check
7:10:04 PM  [mysql]     the Windows Event Viewer for more clues
7:10:04 PM  [mysql]     If you need more help, copy and post this
7:10:04 PM  [mysql]     entire log window on the forums
7:10:11 PM  [main]  Executing notepad.exe    c:\users\bfalcon\documents\xampp\mysql\data\mysql_error.log

7:09:46 PM  [main]  Initializing Control Panel
7:09:46 PM  [main]  Windows Version: Windows 7 Home Premium SP1 64-bit
7:09:46 PM  [main]  XAMPP Version: 1.8.2
7:09:46 PM  [main]  Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
7:09:46 PM  [main]  Running with Administrator rights - good!
7:09:46 PM  [main]  XAMPP Installation Directory: "c:\users\bfalcon\documents\xampp\"
7:09:46 PM  [main]  Checking for prerequisites
7:09:50 PM  [main]  All prerequisites found
7:09:50 PM  [main]  Initializing Modules
7:09:50 PM  [Apache]    Initializing module...
7:09:50 PM  [Apache]    Checking for module existence...
7:09:50 PM  [Apache]    Checking for required tools...
7:09:50 PM  [Apache]    Checking for service (name="Apache2.4"): Service not installed
7:09:50 PM  [Apache]    Service Path: Service Not Installed
7:09:50 PM  [Apache]    Checking default ports...
7:09:50 PM  [mysql]     Initializing module...
7:09:50 PM  [mysql]     Checking for module existence...
7:09:50 PM  [mysql]     Checking for required tools...
7:09:50 PM  [mysql]     Checking for service (name="mysql"): Service not installed
7:09:50 PM  [mysql]     Service Path: Service Not Installed
7:09:50 PM  [mysql]     Checking default ports...
7:09:50 PM  [filezilla]     Initializing module...
7:09:50 PM  [filezilla]     Checking for module existence...
7:09:50 PM  [filezilla]     Checking for required tools...
7:09:50 PM  [filezilla]     Checking for service (name="FileZillaServer"): Service not installed
7:09:50 PM  [filezilla]     Service Path: Service Not Installed
7:09:50 PM  [filezilla]     Checking default ports...
7:09:50 PM  [mercury]   Initializing module...
7:09:50 PM  [mercury]   Checking for module existence...
7:09:50 PM  [mercury]   Checking for required tools...
7:09:50 PM  [mercury]   Checking default ports...
7:09:50 PM  [Tomcat]    Initializing module...
7:09:50 PM  [Tomcat]    Checking for module existence...
7:09:51 PM  [Tomcat]    Checking for required tools...
7:09:51 PM  [Tomcat]    Checking for service (name="Tomcat7"): Service not installed
7:09:51 PM  [Tomcat]    Service Path: Service Not Installed
7:09:51 PM  [Tomcat]    Checking default ports...
7:09:51 PM  [main]  Starting Check-Timer
7:09:51 PM  [main]  Control Panel Ready
7:09:54 PM  [Apache]    Checking default ports...
7:09:54 PM  [Apache]    Attempting to start Apache app...
7:09:54 PM  [Apache]    Executing "c:\users\bfalcon\documents\xampp\apache\bin\httpd.exe"
7:09:54 PM  [Apache]    Return code: 0
7:09:55 PM  [Apache]    Status change detected: running
7:10:03 PM  [mysql]     Checking default ports...
7:10:03 PM  [mysql]     Attempting to start MySQL app...
7:10:03 PM  [mysql]     Executing     ""c:\users\bfalcon\documents\xampp\mysql\bin\mysqld.exe" --defaults-   file="c:\users\bfalcon\documents\xampp\mysql\bin\my.ini" --standalone"
7:10:04 PM  [mysql]     Return code: 0
7:10:04 PM  [mysql]     Status change detected: running
7:10:04 PM  [mysql]     Status change detected: stopped
7:10:04 PM  [mysql]     Error: MySQL shutdown unexpectedly.
7:10:04 PM  [mysql]     This may be due to a blocked port, missing dependencies, 
7:10:04 PM  [mysql]     improper privileges, a crash, or a shutdown by another     method.
7:10:04 PM  [mysql]     Press the Logs button to view error logs and check
7:10:04 PM  [mysql]     the Windows Event Viewer for more clues
7:10:04 PM  [mysql]     If you need more help, copy and post this
7:10:04 PM  [mysql]     entire log window on the forums
7:10:11 PM  [main]  Executing notepad.exe c:\users\bfalcon\documents\xampp\mysql\data\mysql_error.log
4

4 回答 4

0

这解决了我的问题:

  1. 导航到 \xampp\mysql
  2. 执行:mysql_uninstallservice.bat
  3. 执行:mysql_installservice.bat
  4. 可选择通过执行以下命令重置 root:resetroot.bat
  5. 启动 XAMPP,您应该会看到 MySQL 正在运行。

希望它对你们有用!

于 2014-11-13T16:46:03.570 回答
0
7:09:50 PM  [main]  Initializing Modules 
7:09:50 PM  [Apache] Initializing module... 
7:09:50 PM  [Apache] Checking for module existence... 
7:09:50 PM  [Apache] Checking for required tools... 
7:09:50 PM  [Apache] Checking for service (name="Apache2.4"): Service not installed<<<--    7:09:50 PM  [Apache] Service Path: Service Not Installed 
7:09:50 PM  [Apache] Checking default ports...

我建议您卸载 Xampp 的所有其余部分,然后重新安装。好像你杀死了你所有的模块,但我不确定你

于 2013-07-16T12:19:55.333 回答
0

您的安装失败:

Service Path: Service Not Installed

使用 Windows 指南重新安装所有内容:

http://www.apachefriends.org/en/xampp-windows.html#522

于 2013-07-16T12:22:55.973 回答
0

您可以使用 XAMPP 文件夹下的“mysql_start”批处理文件运行 xampp mysql。

于 2013-07-16T10:11:05.363 回答