Bug #5751 Windows server will report successful start even though it does not
Submitted: 26 Sep 2004 10:19 Modified: 4 Oct 2004 11:33
Reporter: Mike Hillyer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:4.1.5 OS:Windows (Windows XP SP2)
Assigned to: Michael G. Zinner CPU Architecture:Any

[26 Sep 2004 10:19] Mike Hillyer
Description:
On Windows (if the server is installed as a Windows Service) and the service is started with some invalid .cnf file (a service already running on the same port, ...), the service reports that it started correctly but then shuts down after 0.5 seconds. 

This affects the new Install and Configuration wizards, because the wizard gets a successful start message from the server and reports to the end user that the server is successfully started, but then shuts down because of a problem with the configuration file.

How to repeat:
Start the server with an invalid config file, monitor the service status.

Suggested fix:
Do not report successful service start until the config file is parsed and the server is actually started.
[26 Sep 2004 10:23] Mike Hillyer
Cleaning Title
[4 Oct 2004 9:41] Victor Vagin
Actually, the bug is in the Installer, so I'm reassigning it
[4 Oct 2004 11:33] Michael G. Zinner
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