阿帕奇 - MySQL的服务与路径错误检测。 /端口已在使用 [英] Apache - MySQL Service detected with wrong path. / Ports already in use

查看:746
本文介绍了阿帕奇 - MySQL的服务与路径错误检测。 /端口已在使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误,当我启动XAMPP。

  12点35分23秒[主]初始化控制面板
12时35分23秒[主] Windows版本:64位
12时35分23秒[主] XAMPP版本:1.8.1
12时35分23秒[主]控制面板版本:3.1.0 3.1.0 [编译:2012年9月20日]
12时35分23秒[主]以管理员权限运行 - 好!
12时35分23秒[主] XAMPP安装目录:C:\\ XAMPP \\
12时35分23秒[主]检查prerequisites
发现12时35分23秒[主]所有prerequisites
12时35分23秒[主]初始化模块
12时35分23秒[阿帕奇] XAMPP Apache服务已经在端口80上运行
12时35分23秒[阿帕奇] XAMPP Apache服务已经在端口443上运行
12时35分23秒[MySQL的] MySQL的服务与路径错误检测
12时35分23秒[MySQL的]更改XAMPP MySQL的设置或
12时35分23秒[MySQL的]卸载/手动先禁用的其​​他服务
12时35分23秒[MySQL的]找到路径:C:\\ Program Files文件\\的MySQL \\ MySQL服务器5.5 \\ BIN \\ mysqld的--defaults文件=C:\\ Program Files文件\\的MySQL \\ MySQL服务器5.5 \\ my.ini文件MySQL的
12时35分23秒[MySQL的]预期路径:C:\\ XAMPP \\ MySQL的\\ BIN \\ mysqld.exe --defaults文件= C:\\ XAMPP \\ MySQL的\\ BIN \\ mysql的my.ini文件
12时35分23秒[MySQL的]问题检测!
12时35分23秒[MySQL的] 3306端口通过mysqld.exe使用!
12时35分23秒[MySQL的] MySQL不会启动,但不自由配置的端口!
12时35分23秒[MySQL的]您需要卸载/关闭/重新配置应用程序拦截
12时35分23秒[MySQL的],或重新配置MySQL来听不同的端口上
12时35分23秒[主]启动检查定时器
12时35分23秒[主]控制面板就绪

我是不是能够找到谷歌妥善的解决办法,所以我有点'希望有人可以帮助我这个问题。

哦,并且XAMPP运行正常。 Apache和MySQL服务都在运行。


解决方案

  1. 转到CMD和管理员模式运行它。

  2. 使用以下命令通过命令提示符
  3. 卸载mysql服务。

      SC删除的mysql


  4. 重新启动XAMPP


I'm getting the following errors when I launch XAMPP.

12:35:23  [main]    Initializing Control Panel
12:35:23  [main]    Windows Version:   64-bit
12:35:23  [main]    XAMPP Version: 1.8.1
12:35:23  [main]    Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
12:35:23  [main]    Running with Administrator rights - good!
12:35:23  [main]    XAMPP Installation Directory: "c:\xampp\"
12:35:23  [main]    Checking for prerequisites
12:35:23  [main]    All prerequisites found
12:35:23  [main]    Initializing Modules
12:35:23  [Apache]  XAMPP Apache Service is already running on port 80
12:35:23  [Apache]  XAMPP Apache Service is already running on port 443
12:35:23  [mysql]   MySQL Service detected with wrong path
12:35:23  [mysql]   Change XAMPP MySQL settings or
12:35:23  [mysql]   Uninstall/disable the other service manually first
12:35:23  [mysql]   Found Path: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL
12:35:23  [mysql]   Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
12:35:23  [mysql]   Problem detected!
12:35:23  [mysql]   Port 3306 in use by "mysqld.exe"!
12:35:23  [mysql]   MySQL WILL NOT start without the configured ports free!
12:35:23  [mysql]   You need to uninstall/disable/reconfigure the blocking application
12:35:23  [mysql]   or reconfigure MySQL to listen on a different port
12:35:23  [main]    Starting Check-Timer
12:35:23  [main]    Control Panel Ready

I wasn't able to find a proper solution on google, so I'm kinda' hoping someone could help me out with this.

Oh and, XAMPP is running properly. Apache and the MySQL service are both running ..

解决方案

  1. Go to cmd and run it with Administrator mode.
  2. Uninstall mysql service through command prompt using the following command.

            sc delete mysql
    

  3. restart XAMPP

这篇关于阿帕奇 - MySQL的服务与路径错误检测。 /端口已在使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆