Xampp MYSQL does not work

Asked

Viewed 1,695 times

-1

The following error is happening with my mysql.

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 (x86)\MySQL\MySQL Server 5.0\bin\mysqld-nt" --defaults-file="C:\Program Files (x86)\MySQL\MySQL Server 5.0\my.ini" MySQL
Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql

I have already checked and there is this folder inside program files and still xampp is directing to it.

1 answer

0

Check the file my.ini. Where you are pointing out the paths

basedir="F:/mysql/"
datadir="F:/mysql/Data/"

Good luck

  • were all mysql/data. I changed to mysql/ only and it didn’t work

  • You probably have another mysql service pointing in this other directory: "C: Program Files (x86) Mysql Mysql Server 5.0 bin mysqld-nt" -defaults-file="C: Program Files (x86) Mysql Mysql Server 5.0 my.ini" Mysql

  • If you have vc you can remove the service by cmd => sc delete ervic

  • I have installed another MYSQL service which is an ERP. So I cannot delete.

  • Then you can create the service mysql_something and point to the correct my.ini, so the service will work. Follow the create service C template: mysql bin mysqld --install Mysql_something_thing --defaults-file=C: mysql my.ini Remember to change the port of your mysql in my.ini file so that there is no conflict with your Erp. I hope I helped, hugs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.