The world's most popular open source database
[+/-]
All MySQL Cluster executables (except for
mysqld) take the options described in this
section as of MySQL 4.1.8. Users of earlier MySQL Cluster versions
should note that some of these options have been changed to make
consistent with one another as well as with
mysqld. You can use the --help
option with any MySQL Cluster executable to view a list of the
options which it supports.
The following options are common to all MySQL Cluster executables:
--help --usage,
-?
Prints a short list with descriptions of the available command options.
--connect-string=
connect_string
connect_string sets the
connectstring to the management server as a command option.
Available with ndb_mgm beginning with MySQL
4.1.8.
shell> ndbd --connect-string="nodeid=2;host=ndb_mgmd.mysql.com:1186"
For more information, see Section 15.3.4.2, “The Cluster Connectstring”.
--debug[=
options]
This option can be used only for versions compiled with debugging enabled. It is used to enable output from debug calls in the same manner as for the mysqld process.
--execute=,
command-e
command
Can be used to send a command to a Cluster executable from the system shell. For example, either of the following:
shell> ndb_mgm -e "SHOW"
or
shell> ndb_mgm --execute="SHOW"
is equivalent to
ndb_mgm> SHOW
This is analogous to how the --execute or
-e option works with the
mysql command-line client. See
Section 4.2.3.1, “Using Options on the Command Line”.
--version, -V
Prints the MySQL Cluster version number of the executable. The version number is relevant because not all versions can be used together, and the MySQL Cluster startup process verifies that the versions of the binaries being used can co-exist in the same cluster. This is also important when performing an online (rolling) software upgrade or downgrade of MySQL Cluster. (See Section 15.5.1, “Performing a Rolling Restart of the Cluster”).
The next few sections describe options specific to individual
NDB programs.
See Section 15.4.2, “MySQL Cluster-Related Command Options for mysqld”, for mysqld options relating to MySQL Cluster.


User Comments
Add your own comment.