This documentation is for an older version. If you're using the most current version, select the documentation for that version with the version switch in the upper right corner of the online documentation, or by downloading a newer PDF or EPUB file.

17.3 MySQL Cluster Configuration

17.3.1 Quick Test Setup of MySQL Cluster
17.3.2 Overview of MySQL Cluster Configuration Parameters, Options, and Variables
17.3.3 MySQL Cluster Configuration Files
17.3.4 Using High-Speed Interconnects with MySQL Cluster

A MySQL server that is part of a MySQL Cluster differs in one chief respect from a normal (nonclustered) MySQL server, in that it employs the NDB storage engine. This engine is also referred to sometimes as NDBCLUSTER, although NDB is preferred.

To avoid unnecessary allocation of resources, the server is configured by default with the NDB storage engine disabled. To enable NDB, you must modify the server's my.cnf configuration file, or start the server with the --ndbcluster option.

This MySQL server is a part of the cluster, so it also must know how to access a management node to obtain the cluster configuration data. The default behavior is to look for the management node on localhost. However, should you need to specify that its location is elsewhere, this can be done in my.cnf, or with the mysql client. Before the NDB storage engine can be used, at least one management node must be operational, as well as any desired data nodes.

For more information about --ndbcluster and other mysqld options specific to MySQL Cluster, see Section, “mysqld Command Options for MySQL Cluster”.

For information about installing MySQL Cluster, see Section 17.2, “MySQL Cluster Installation and Upgrades”.