18.4.26 Options Common to MySQL Cluster Programs — Options Common to MySQL Cluster Programs

All MySQL Cluster programs accept the options described in this section, with the following exceptions:

Users of earlier MySQL Cluster versions should note that some of these options have been changed to make them consistent with one another as well as with mysqld. You can use the --help option with any MySQL Cluster program—with the exception of ndb_print_backup_file, ndb_print_schema_file, and ndb_print_sys_file—to view a list of the options which the program supports.

The options in the following table are common to all MySQL Cluster executables (except those noted previously in this section).

Table 18.30 Common MySQL Cluster Program Options and Variables: MySQL Cluster NDB 7.3

FormatDescriptionAdded / Removed

--help,

--usage,

-?

Display help message and exit

All MySQL 5.6 based releases

--ndb-connectstring=connectstring,

--connect-string=connectstring,

-c

Set connection string for connecting to ndb_mgmd. Syntax: [nodeid=<id>;][host=]<hostname>[:<port>]. Overrides entries specified in NDB_CONNECTSTRING or my.cnf.

All MySQL 5.6 based releases

--ndb-mgmd-host=host[:port]

Set the host (and port, if desired) for connecting to the management server

All MySQL 5.6 based releases

--ndb-nodeid=#

Set node id for this node

All MySQL 5.6 based releases

--ndb-optimized-node-selection

Select nodes for transactions in a more optimal way

All MySQL 5.6 based releases

--character-sets-dir=path

Directory where character sets are

All MySQL 5.6 based releases

--debug=options

Enable output from debug calls. Can be used only for versions compiled with debugging enabled

All MySQL 5.6 based releases

--core-file

Write core on errors (defaults to TRUE in debug builds)

All MySQL 5.6 based releases

--version,

-V

Output version information and exit

All MySQL 5.6 based releases


For options specific to individual MySQL Cluster programs, see Section 18.4, “MySQL Cluster Programs”.

See Section 18.3.4.2, “MySQL Server Options for MySQL Cluster”, for mysqld options relating to MySQL Cluster.