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

20.4.32 Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs

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

Note

Users of earlier NDB Cluster versions should note that some of these options have been changed to make them consistent with one another, and also with mysqld. You can use the --help option with any NDB 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 NDB Cluster executables (except those noted previously in this section).

Table 20.48 Command-line options common to all MySQL NDB Cluster programs

Format Description Added, Deprecated, or Removed

--character-sets-dir=dir_name

Directory where character sets are installed

(Supported in all NDB releases based on MySQL 5.7)

--connect-retries=#

Set the number of times to retry a connection before giving up

(Supported in all NDB releases based on MySQL 5.7)

--connect-retry-delay=#

Time to wait between attempts to contact a management server, in seconds

(Supported in all NDB releases based on MySQL 5.7)

--core-file

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

(Supported in all NDB releases based on MySQL 5.7)

--debug=options

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

(Supported in all NDB releases based on MySQL 5.7)

--defaults-extra-file=filename

Read this file after global option files are read

(Supported in all NDB releases based on MySQL 5.7)

--defaults-file=filename

Read default options from this file

(Supported in all NDB releases based on MySQL 5.7)

--defaults-group-suffix

Also read groups with names ending in this suffix

(Supported in all NDB releases based on MySQL 5.7)

--help,

--usage,

-?

Display help message and exit

(Supported in all NDB releases based on MySQL 5.7)

--login-path=path

Read this path from the login file

(Supported in all NDB releases based on MySQL 5.7)

--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

(Supported in all NDB releases based on MySQL 5.7)

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

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

(Supported in all NDB releases based on MySQL 5.7)

--ndb-nodeid=#

Set node id for this node

(Supported in all NDB releases based on MySQL 5.7)

--ndb-optimized-node-selection

Select nodes for transactions in a more optimal way

(Supported in all NDB releases based on MySQL 5.7)

--no-defaults

Do not read default options from any option file other than login file

(Supported in all NDB releases based on MySQL 5.7)

--print-defaults

Print the program argument list and exit

(Supported in all NDB releases based on MySQL 5.7)

--version,

-V

Output version information and exit

(Supported in all NDB releases based on MySQL 5.7)


For options specific to individual NDB Cluster programs, see Section 20.4, “NDB Cluster Programs”.

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