Bad script to install MySQL as Windows service - XAMPP 1.6.0

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Bad script to install MySQL as Windows service - XAMPP 1.6.0

Postby carib » 18. February 2007 23:38

In the Installer for XAMPP Windows 1.6.0 [Basic package] I found an error in the install as service script "mysql_installservice" which prevents it from being installed as a windows service.

The section

:MainNT
echo Installing MySQL as an Service
copy "%cd%\bin\my.cnf" /-y %windir%\my.ini
bin\mysqld-nt --install mysql --defaults-file="%cd%\bin\my.cnf"
echo Try to start the MySQL deamon as service ...
net start MySQL

should instead read

:MainNT
echo Installing MySQL as an Service
copy "%cd%\bin\my.cnf" /-y %windir%\my.ini
bin\mysqld --install mysql --defaults-file="%cd%\bin\my.cnf"
echo Try to start the MySQL deamon as service ...
net start MySQL

that is remove "-nt" on line 32 of the code.
carib
 
Posts: 3
Joined: 18. February 2007 23:28
Location: Saint Lucia

Postby Wiedmann » 19. February 2007 00:07

For now you are correct.

But the real bug is:
They have forgotten to put the file "mysqld-nt.exe" into the new XAMPP download packages (1.6.0).
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby carib » 19. February 2007 01:14

Ah yes. I see it because "mysqld-nt.exe" is also referenced in the uninstall script.

Just another side note. A few pages in the package refer to the previous version of xampp in the page title.

All in all I love the work done by the apachefriends project. It's been a life save as I go from BSD to windows in developing my work. Keep up the good work and keep the improvements coming!!!.


Wiedmann wrote:For now you are correct.

But the real bug is:
They have forgotten to put the file "mysqld-nt.exe" into the new XAMPP download packages (1.6.0).
carib
 
Posts: 3
Joined: 18. February 2007 23:28
Location: Saint Lucia


Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 39 guests