Error after adding MySQL service
Posted: 12. April 2018 10:11
Hello,
I'm getting an error after installing MySQL as a service on my Win7 boxes. The XAMPP Control Panel (v3.2.2) shows in its log window the following lines :
This is not somethiong new and can be solved by modifying the file mysql_installservice.bat as follow :
@ line #31 change :
to
by simply adding a ".exe" to mysqld
Note that you will need to uninstall the service first
Can this change be added to future releases please?
Thanks in advance,
GGR.
I'm getting an error after installing MySQL as a service on my Win7 boxes. The XAMPP Control Panel (v3.2.2) shows in its log window the following lines :
- Code: Select all
10:50:17 [mysql] MySQL Service detected with wrong path
10:50:17 [mysql] Change XAMPP MySQL and Control Panel settings or
10:50:17 [mysql] Uninstall/disable the other service manually first
10:50:17 [mysql] Found Path: C:\xampp\mysql\bin\mysqld --defaults-file=C:\xampp\mysql\bin\my.ini mysql
10:50:17 [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
This is not somethiong new and can be solved by modifying the file mysql_installservice.bat as follow :
@ line #31 change :
- Code: Select all
bin\mysqld --install mysql --defaults-file="%cd%\bin\my.ini"
to
- Code: Select all
bin\mysqld.exe --install mysql --defaults-file="%cd%\bin\my.ini"
by simply adding a ".exe" to mysqld
Note that you will need to uninstall the service first
Can this change be added to future releases please?
Thanks in advance,
GGR.