Bug #7805 config.ini parsing error
Submitted: 11 Jan 2005 16:15 Modified: 11 Jan 2005 16:16
Reporter: Andreas Schoesser
Status: Closed
Category:Server: Cluster Severity:S3 (Non-critical)
Version:4.1.8 OS:Linux (Linux)
Assigned to: Tomas Ulin Target Version:

[11 Jan 2005 16:15] Andreas Schoesser
Description:
This bug affects the configuration file of ndb_mgmd: 
 
When adding a comment to the end of the ndbd hostname value, the comment is also 
treated as part of the hostname: 
 
----------------- cut ------------------ 
... 
[NDB_MGMD] 
HostName=127.0.0.1       # This is a comment 
... 
------------------ cut ----------------- 
 
The resulting hostname is "127.0.0.1       # This is a comment", the comment is not 
recognized. 
 
Also you can't specify 'localhost' as a hostname, you get an "host can not be resolved" 
error! 
 
 

How to repeat:
Just put a comment behind the Hostname variable in config.h
[11 Jan 2005 16:16] Tomas Ulin
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
[13 Apr 2005 14:33] nhat linh le
hjhdfghiu fdjhguotiug8 jhioh jkjkojiu nhuat mjnkjiut k