MySQL 5.7 Reference Manual Including MySQL NDB Cluster 7.5 and NDB Cluster 7.6

20.4.5 ndb_mgm — The NDB Cluster Management Client

The ndb_mgm management client process is actually not needed to run the cluster. Its value lies in providing a set of commands for checking the cluster's status, starting backups, and performing other administrative functions. The management client accesses the management server using a C API. Advanced users can also employ this API for programming dedicated management processes to perform tasks similar to those performed by ndb_mgm.

To start the management client, it is necessary to supply the host name and port number of the management server:

shell> ndb_mgm [host_name [port_num]]

For example:

shell> ndb_mgm 1186

The default host name and port number are localhost and 1186, respectively.

The following table includes options that are specific to the NDB Cluster management client program ndb_mgm. Additional descriptions follow the table. For options common to most NDB Cluster programs (including ndb_mgm), see Section 20.4.32, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.

Table 20.25 Command-line options used with the program ndb_mgm

Format Description Added, Deprecated, or Removed



Execute command and exit

(Supported in all NDB releases based on MySQL 5.7)



Set number of times to retry connection before giving up; synonym for --connect-retries

(Supported in all NDB releases based on MySQL 5.7)

Additional information about using ndb_mgm can be found in Section 20.5.1, “Commands in the NDB Cluster Management Client”.