Bug #1969 mysqld won't start as a service in Microsoft Windows XP Home
Submitted: 27 Nov 2003 6:40 Modified: 15 Dec 2003 15:06
Reporter: Daryle Niedermayer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:4.0.16 OS:Windows (MS Windows XP-HE)
Assigned to: Sergei Golubchik CPU Architecture:Any

[27 Nov 2003 6:40] Daryle Niedermayer
Description:
I installed MySQL 4.0.16 on an XP Home laptop. Following the instructions, I copied the my-medium.cnf file to c:\my.cnf and added the mysqld as a service using the following command:

C:\mysql>mysqld --install-manual mysqld --defaults-file=C:\my.cnf
Service successfully installed.

The service shows up correctly in the services list but when I attempt to start it, I get the following error:

"Could not start the mysqld service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion."

I can however start the mysqld from a command line.

How to repeat:
Install mysql using the Windows installer on an XP HE machine.

Copy the my-medium.cnf file from the distribution to c:\my.cnf

From a Windows Command Prompt, type the following line:
C:\mysql>mysqld --install-manual mysqld --defaults-file=C:\my.cnf

System reports that the service was successfully installed and service is now listed in the Windows Services panel.

Left clicking to start the service results in the system attempting to install before erroring out.

Installation was on a Dell Inspiron 4150 laptop with 640 Mb RAM.
[27 Nov 2003 8:49] MySQL Verification Team
Yes this a 4.0.16 bug with that service start (already fixed in
the bk tree). However you don't need that service option for
to get work it:

mysqld-nt --install-manual

and the server will looks for c:\my.cnf or c:\windows\my.ini
[27 Nov 2003 10:59] Sergei Golubchik
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