MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jon.stephens Date:April 15 2010 2:10pm
Subject:svn commit - mysqldoc@docsrva: r20024 - in trunk: refman-5.0 refman-5.1
View as plain text  
Author: jstephens
Date: 2010-04-15 16:10:30 +0200 (Thu, 15 Apr 2010)
New Revision: 20024

Log:

Added note to ndb_config --host about localhost and hostname resolution

(Ref BUG#38866/Magnus)



Modified:
   trunk/refman-5.0/mysql-cluster-programs-core.xml
   trunk/refman-5.1/mysql-cluster-programs-core.xml


Modified: trunk/refman-5.0/mysql-cluster-programs-core.xml
===================================================================
--- trunk/refman-5.0/mysql-cluster-programs-core.xml	2010-04-15 13:28:09 UTC (rev 20023)
+++ trunk/refman-5.0/mysql-cluster-programs-core.xml	2010-04-15 14:10:30 UTC (rev 20024)
Changed blocks: 1, Lines Added: 21, Lines Deleted: 0; 1662 bytes

@@ -1655,6 +1655,27 @@
               Specifies the host name of the node for which
               configuration information is to be obtained.
             </para>
+
+            <note>
+              <para>
+                While the hostname <literal>localhost</literal> usually
+                resolves to the IP address <literal>127.0.0.1</literal>,
+                this may not necessarily be true for all operating
+                platforms and configurations. This means that it is
+                possible, when <literal>localhost</literal> is used in
+                <filename>config.ini</filename>, for <command>ndb_config
+                <option>--host=localhost</option></command> to fail if
+                <command>ndb_config</command> is run on a different host
+                where <literal>localhost</literal> resolves to a
+                different address (for example, on some versions of SUSE
+                Linux, this is <literal>127.0.0.2</literal>). In
+                general, for best results, you should use numeric IP
+                addresses for all MySQL Clustewr configuration values
+                relating to hosts, or verify that all MySQL Cluster
+                hosts handle <literal>localhost</literal> in the same
+                fashion.
+              </para>
+            </note>
           </listitem>
 
           <listitem>


Modified: trunk/refman-5.1/mysql-cluster-programs-core.xml
===================================================================
--- trunk/refman-5.1/mysql-cluster-programs-core.xml	2010-04-15 13:28:09 UTC (rev 20023)
+++ trunk/refman-5.1/mysql-cluster-programs-core.xml	2010-04-15 14:10:30 UTC (rev 20024)
Changed blocks: 1, Lines Added: 21, Lines Deleted: 0; 1662 bytes

@@ -2556,6 +2556,27 @@
               Specifies the host name of the node for which
               configuration information is to be obtained.
             </para>
+
+            <note>
+              <para>
+                While the hostname <literal>localhost</literal> usually
+                resolves to the IP address <literal>127.0.0.1</literal>,
+                this may not necessarily be true for all operating
+                platforms and configurations. This means that it is
+                possible, when <literal>localhost</literal> is used in
+                <filename>config.ini</filename>, for <command>ndb_config
+                <option>--host=localhost</option></command> to fail if
+                <command>ndb_config</command> is run on a different host
+                where <literal>localhost</literal> resolves to a
+                different address (for example, on some versions of SUSE
+                Linux, this is <literal>127.0.0.2</literal>). In
+                general, for best results, you should use numeric IP
+                addresses for all MySQL Clustewr configuration values
+                relating to hosts, or verify that all MySQL Cluster
+                hosts handle <literal>localhost</literal> in the same
+                fashion.
+              </para>
+            </note>
           </listitem>
 
           <listitem>


Thread
svn commit - mysqldoc@docsrva: r20024 - in trunk: refman-5.0 refman-5.1jon.stephens15 Apr