user6541331
user6541331

Reputation:

Wrong Path of Mysql in Xampp

I am using Mysql for long time via xampp software and it is working fine. Now I installed Mysql software, While configuring Mysql software I give port 3307, to run it independently from Mysql in Xampp which is using 3306. But it is not working, I got following error when I run xampp I got screen with following error saying

MySQL Service detected with wrong path Change XAMPP MySQL and Control Panel settings or Uninstall/disable the other service manually first Found Path: "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults- file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql

enter image description here

Upvotes: 1

Views: 4096

Answers (3)

Karuppaiya
Karuppaiya

Reputation: 3

Try with windows command prompt with administrative mode

sc delete MySQL from above commands

Upvotes: 0

Guddu Kumar
Guddu Kumar

Reputation: 1

If you face this issue, follow these steps

  1. Click on 'Start' => 'Run' => type 'regedit' and press Enter. This opens the Registry Editor.

  2. Navigate to the following location: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL

  3. In the MySQL registry key, locate the 'ImagePath' value and modify it to the expected path.

After that, Restart your system to check if the issue persists

Upvotes: 0

Raja Sekhar Y
Raja Sekhar Y

Reputation: 123

Simple if you using windows Go to Administrative cmd and type the following command

sc delete MySQL 

Upvotes: 2

Related Questions