Bug #9835 mysqld_multi --help won't output help if there are parameter problems
Submitted: 12 Apr 2005 5:10 Modified: 26 Apr 2005 11:17
Reporter: Lachlan Mulcahy Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.11 OS:Any (Any)
Assigned to: Jani Tolonen CPU Architecture:Any

[12 Apr 2005 5:10] Lachlan Mulcahy
Description:
If there are errors in the my.cnf file [mysqld_multi] section such as a parameter missing a value, the --help output will not display. This is a bit counterintuitive as the error that is output suggests using the --help option for help.

How to repeat:
1. Ensure the following is in your my.cnf

[mysqld_multi]
password=

2. Run mysqld_multi

3. Run mysqld_multi --help

Suggested fix:
Check validity of the configuration files after checking for --help.
[26 Apr 2005 11:17] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/24311
[26 Apr 2005 11:17] Jani Tolonen
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

Additional info:

Fixed in 5.0.