Bug #12028 Hostname option in [NDB DEFAULT] section not used
Submitted: 19 Jul 2005 9:54 Modified: 29 Jul 2005 17:41
Reporter: Max Mether Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1,5.0 OS:Linux (Linux)
Assigned to: Tomas Ulin CPU Architecture:Any

[19 Jul 2005 9:54] Max Mether
Description:
In the cluster configuration file the hostname of the ndbds cannot be specified in the [NDBD DEFAULT] section. 

How to repeat:
With  the following config.ini, the management server won't start, but complain that mixing IP addresses with localhost is not allowed.

[NDB_MGMD]
Hostname=192.168.1.102
DataDir=/var/lib/mysql-cluster

[NDBD DEFAULT]
NoOfReplicas=2
Datadir=/var/lib/mysql-cluster
Hostname=192.168.1.102

[NDBD]

[NDBD]

[MYSQLD]

[MYSQLD]
[19 Jul 2005 12:33] 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/27300
[19 Jul 2005 13:26] 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/27301
[19 Jul 2005 14:12] Tomas Ulin
pushed into 4.1.14 (will be merged to 5.0.10)
[29 Jul 2005 17:41] Mike Hillyer
Documented in 4.1.14 and 5.0.10 changelogs:

<listitem><para>NDB ignored the <literal>Hostname</literal> option in the <literal>NDBD DEFAULT</literal> section of the NDB configuration file. (Bug #12028)</para></listitem>