Bug #54293 MySQL Cluster docs does not mention WIndows
Submitted: 7 Jun 2010 12:14 Modified: 10 Jun 2010 14:41
Reporter: Anders Karlsson Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:7.1.3 OS:Windows
Assigned to: Jon Stephens CPU Architecture:Any

[7 Jun 2010 12:14] Anders Karlsson
Description:
The MySQL Cluster documentation for 7.1.3 is Linux / Unix only, which means that getting started for a Windows user is really difficult.

How to repeat:
For examples, look at section 17.2.2:
<QUOTE>
 The my.cnf file needed for the data nodes is fairly simple. The configuration file should be located in the /etc directory and can be edited using any text editor. (Create the file if it does not exist.) For example:

shell> vi /etc/my.cnf
</QUOTE>
and
<QUOTE>
Configuring the management node.   The first step in configuring the management node is to create the directory in which the configuration file can be found and then to create the file itself. For example (running as root):

shell> mkdir /var/lib/mysql-cluster
shell> cd /var/lib/mysql-cluster
shell> vi config.ini
</QUOTE>
and section 17.2
<QUOTE>
 A common problem when trying to use host names for Cluster nodes arises because of the way in which some operating systems (including some Linux distributions) set up the system's own host name in the /etc/hosts  during installation. Consider two machines with the host names ndb1 and ndb2, both in the cluster network domain. Red Hat Linux (including some derivatives such as CentOS and Fedora) places the following entries in these machines' /etc/hosts files:

#  ndb1 /etc/hosts:
127.0.0.1   ndb1.cluster ndb1 localhost.localdomain localhost
</QUOTE>

Suggested fix:
Adjust the relevant section to be either for both Linux and WIndows, or make them OS independent in some way. Or even better, provide a specific different Windows getting started for MySQL Cluster.
[7 Jun 2010 12:17] Valeriy Kravchuk
Indeed, http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-multi-config.html should be clarified for Windows case.
[10 Jun 2010 14:41] Jon Stephens
Duplicate of BUG#54126