Question:
MySQL in xampp isn't starting? Unexpected Path Error?
Kevin
2015-03-16 10:14:11 UTC
1:04:32 PM [main] Initializing Control Panel
1:04:32 PM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
1:04:32 PM [main] XAMPP Version: 5.5.19
1:04:32 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
1:04:32 PM [main] You are not running with administrator rights! This will work for
1:04:32 PM [main] most application stuff but whenever you do something with services
1:04:32 PM [main] there will be a security dialogue or things will break! So think
1:04:32 PM [main] about running this application with administrator rights!
1:04:32 PM [main] XAMPP Installation Directory: "c:\xampp\"
1:04:32 PM [main] Checking for prerequisites
1:04:44 PM [main] All prerequisites found
1:04:44 PM [main] Initializing Modules
1:04:44 PM [mysql] MySQL Service detected with wrong path
1:04:44 PM [mysql] Change XAMPP MySQL and Control Panel settings or
1:04:44 PM [mysql] Uninstall/disable the other service manually first
1:04:44 PM [mysql] Found Path: C:\mysql\bin\mysqld-nt.exe
1:04:44 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
1:04:44 PM [main] Starting Check-Timer
1:04:44 PM [main] Control Panel Ready
1:04:47 PM [Apache] Attempting to start Apache app...
1:04:47 PM [Apache] Status change detected: running
1:04:51 PM [mysql] Attempting to start MySQL service...
==================================================================
Already tried reinstalling
Three answers:
Chris
2015-03-16 10:51:16 UTC
xampp already includes mySQL. If you want to use it, you should uninstall any previous installation first, just like it says in the error message.

It even mentions the path of your previous installation: C:\mysql\



So:

-uninstall xampp

-uninstall mysql

-reboot

-install xampp
just "JR"
2015-03-16 12:43:21 UTC
RIGHT click on xampp control panel, and "open as administrator" !

Then, start Apache, and start Mysql.
Sadsongs
2015-03-16 10:21:30 UTC
I'm not going to try to replicate this but have a look at the top answer on http://stackoverflow.com/questions/15718157/apache-mysql-service-detected-with-wrong-path-ports-already-in-use


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...