mysql 端口扫描不到,阿帕奇 - MySQL的服务与路径错误检测。 /端口已在使用

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 ..

解决方案Go to cmd and run it with Administrator mode.

Uninstall mysql service through command prompt using the following command.

sc delete mysql

restart XAMPP

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值