Bug #9556 Windows service names not quoted by Service Control/Configure Service
Submitted: 1 Apr 2005 13:41 Modified: 30 May 2005 12:53
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.19 OS:Windows (Windows 2000 SP4)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any

[1 Apr 2005 13:41] [ name withheld ]
Description:
If mysqld is installed as a service with a name containing spaces, the name needs to be quoted during installation and manipulation. This is not honored by the Configure Service panel of the Administrator

How to repeat:
Install MySQL to C:\Program Files\MySql\MySQL 4.0.24
C:\Program Files\MySql\MySQL 4.0.24\bin\mysqld.exe --install "MySQL 4.0.24"

In the windows services manager, the Path to Executable is listed as
"C:\Program Files\MySQL\MySQL 4.0.24\bin\mysqld.exe" "MySQL 4.0.24"

Run Administrator
Edit something in the Service Control/Configure Service panel
Apply Changes

The Path to Executable becomes
"C:\Program Files\MySQL\MySQL 4.0.24\bin\mysqld.exe" MySQL 4.0.24

Note the missing quotes around the service name

Suggested fix:
Quote the service name when changes are made on the Configure Service panel
[30 May 2005 12:53] Vladimir Kolesnikov
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html