XAMPP Mysql error : MySQL Service detected with wrong path

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP Mysql error : MySQL Service detected with wrong path

Postby rocksan » 27. August 2015 12:18


I have just set up XAMPP because I need Apache and Mysql to run an other software. XAMPP was in pack with software and would have been configured automatically when setting up all the pack (sorry for my bad english !). But my software doens't detect neither Apache or Mysql, and the XAMPP Control Panel notes these messages :

13:10:00 [main] Initializing Control Panel
13:10:00 [main] Windows Version: Windows 7 Professional SP1 64-bit
13:10:00 [main] XAMPP Version: 1.8.3
13:10:00 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
13:10:00 [main] Running with Administrator rights - good!
13:10:00 [main] XAMPP Installation Directory: "c:\xampp\"
13:10:00 [main] Checking for prerequisites
13:10:00 [main] All prerequisites found
13:10:00 [main] Initializing Modules
13:10:01 [mysql] MySQL Service detected with wrong path
13:10:01 [mysql] Change XAMPP MySQL and Control Panel settings or
13:10:01 [mysql] Uninstall/disable the other service manually first
13:10:01 [mysql] Found Path: c:\xampp\mysql\bin\mysqld --defaults-file=c:\xampp\mysql\bin\my.ini mysql
13:10:01 [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
13:10:01 [mysql] Problem detected!
13:10:01 [mysql] Port 3306 in use by "c:\xampp\mysql\bin\mysqld --defaults-file=c:\xampp\mysql\bin\my.ini mysql"!
13:10:01 [mysql] MySQL WILL NOT start without the configured ports free!
13:10:01 [mysql] You need to uninstall/disable/reconfigure the blocking application
13:10:01 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

I totally don't know to solve this problem, I am novice and, if you can help me, I need explanations with details...

Thank you very much !
Posts: 1
Joined: 27. August 2015 12:07
Operating System: Windows 7

Re: XAMPP Mysql error : MySQL Service detected with wrong pa

Postby Nobbie » 27. August 2015 19:13

Edit your Windows Services (via WIndows System Setup), look for the service "MySQL" and edit the path in this service. SImply change "c:\xampp\mysql\bin\mysqld " to "c:\xampp\mysql\bin\mysqld.exe" (means, only append ".exe" to mysqld). All this is plain WIndows Knowlegde, so if you dont know how to edit Windows Services, ask in a WIndows Forum.
Posts: 10615
Joined: 09. March 2008 13:04

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 60 guests