ndb_config
— Extract MySQL Cluster Configuration Information
1629
Read configuration data from the
my.cnf
file.
•
--query=query-options
,
-q
query-options
Command-Line Format
--query=string
-q
Permitted Values
Type
string
Default
This is a comma-delimited list of query options—that is, a list of one or more node attributes to be
returned. These include
id
(node ID), type (node type—that is,
ndbd
,
mysqld
, or
ndb_mgmd
), and
any configuration parameters whose values are to be obtained.
For example,
--query=id,type,indexmemory,datamemory
returns the node ID, node type,
DataMemory
[1559]
, and
IndexMemory
[1560]
for each node.
Note
If a given parameter is not applicable to a certain type of node, than an empty
string is returned for the corresponding value. See the examples later in this
section for more information.
•
--host=hostname
Command-Line Format
--host=name
Permitted Values
Type
string
Default
Specifies the host name of the node for which configuration information is to be obtained.
Note
While the hostname
localhost
usually resolves to the IP address
127.0.0.1
, this may not necessarily be true for all operating platforms and
configurations. This means that it is possible, when
localhost
is used in
config.ini
, for
ndb_config --host=localhost
to fail if
ndb_config
is run on a different host where
localhost
resolves to a different address
(for example, on some versions of SUSE Linux, this is
127.0.0.2
). In
general, for best results, you should use numeric IP addresses for all MySQL
Clustewr configuration values relating to hosts, or verify that all MySQL
Cluster hosts handle
localhost
in the same fashion.
•
--id=node_id
--nodeid=node_id
Either of these options can be used to specify the node ID of the node for which configuration
information is to be obtained.
--nodeid
is the preferred form.
•
--nodes
Command-Line Format
--nodes
Permitted Values
Type
boolean
Содержание 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 ...