I install Mysql server in my pc to practice j2ee and after some days i uninstalled it and installed xampp for PHP development but it is showing port not free error.
I already try using cmd
and deleting the mysql
files in c drive but no use still my xampp is saying that MySQL Service detected with wrong path
…
Error log:-
MySQL Service detected with wrong path
11:08:46 AM [mysql] Change XAMPP MySQL and Control Panel settings or
11:08:46 AM [mysql] Uninstall/disable the other service manually first
11:08:46 AM [mysql] Found Path: “C:Program Files (x86)MySQLMySQL Server 5.1binmysqld” –defaults-file=”C:Program Files (x86)MySQLMySQL Server 5.1my.ini” MySQL
11:08:46 AM [mysql] Expected Path: c:xamppnew1mysqlbinmysqld.exe –defaults-file=c:xamppnew1mysqlbinmy.ini mysql
Advertisement
Answer
Make sure while editing the Registry, you put the value using quotes ” ” the way it was displayed in the error msg, other wise it will not work
The correct way –
“c:xamppmysqlbinmysqld.exe” –defaults-file=”c:xamppmysqlbinmy.ini” MySQL