Bug #6575 Start up variables mix up underscores and minus chars
Submitted: 11 Nov 2004 12:15 Modified: 6 Apr 2005 6:15
Reporter: Mike Bailey Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:1.0.14 Windows msi OS:Windows (WinXP)
Assigned to: Alexey Botchkov CPU Architecture:Any

[11 Nov 2004 12:15] Mike Bailey
Description:
There appears to be some confusion on the subject of underscores and minus characters used to construct some of the Startup variables. 
For example under the setup for Replication on MySQL 4.1.7, the correct values is not recognised and commented out:

  replicate-wild-ignore-table=foo.bartab%  ... is commented out as unrecognised

Entering one rule in MA will be stored incorrectly and looking like:

  replicate_wild_ignore-table=foo.bartab%  ... is not liked by mysqld-nt.

This appears to occur in a number of other places for the various startup vars.

How to repeat:
Use the MA to enter new Startup variables and then check out what has been added to the My.ini file.

Suggested fix:
Only use one or the other character, then WE will not get confused and nor will those doing the programming!  :-)
[12 Nov 2004 14:07] MySQL Verification Team
MySQL server should accept both "-" and "_" in the option names (and MySQL server 4.0 does it).
So I changed Category to "MySQL Server".
Verified with version 4.1.7
[6 Apr 2005 6:15] Alexey Botchkov
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