ndb_mgm
— The MySQL Cluster Management Client
1626
•
ndb_node_id.pid
is the process ID file used when running the management server as a daemon.
17.4.3.
ndb_mgm
— The MySQL 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 ndb_mgmd.mysql.com 1186
The default host name and port number are
localhost
and 1186, respectively.
The following table includes options that are specific to the MySQL Cluster management client program
ndb_mgm
. Additional descriptions follow the table. For options common to most MySQL Cluster
programs (including
ndb_mgm
), see
Section 17.4.20, “Options Common to MySQL Cluster Programs —
Options Common to MySQL Cluster Programs”
.
Table 17.11.
ndb_mgm
Options and Variables: MySQL 5.0
Format
Description
Added / Removed
--try-reconnect=# [1626]
,
-t [1626]
Specify number of tries for
connecting to ndb_mgmd (0 =
infinite)
All MySQL 5.0
based releases
--execute=name [1626]
,
-e [1626]
Execute command and exit
All MySQL 5.0
based releases
•
--execute=command
,
-e command
Command-Line Format
--execute=name
-e
This option can be used to send a command to the MySQL Cluster management client from the
system shell. For example, either of the following is equivalent to executing
SHOW
in the management
client:
shell>
ndb_mgm -e "SHOW"
shell>
ndb_mgm --execute="SHOW"
This is analogous to how the
--execute
[266]
or
-e
option works with the
mysql
command-line
client. See
Section 4.2.3.1, “Using Options on the Command Line”
.
Note
If the management client command to be passed using this option contains
any space characters, then the command must be enclosed in quotation
marks. Either single or double quotation marks may be used. If the
management client command contains no space characters, the quotation
marks are optional.
•
--try-reconnect=number
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...