MySQL Server Options and Variables for MySQL Cluster
1611
Range
1 .. 63
Set this MySQL server's node ID in a MySQL Cluster. This can be used instead of specifying the
node ID as part of the connectstring or in the
config.ini
file, or permitting the cluster to determine
an arbitrary node ID. If you use this option, then
--ndb-nodeid
must be specified before
--ndb-
connectstring
. If
--ndb-nodeid
is used and a node ID is specified in the connectstring, then
the MySQL server will not be able to connect to the cluster. In addition, if
--nodeid
is used, then
either a matching node ID must be found in a
[mysqld]
or
[api]
section of
config.ini
, or there
must be an “open”
[mysqld]
or
[api]
section in the file (that is, a section without an
Id
parameter
specified).
Regardless of how the node ID is determined, its is shown as the value of the global status variable
Ndb_cluster_node_id
in the output of
SHOW STATUS
, and as
cluster_node_id
in the
connection
row of the output of
SHOW ENGINE NDBCLUSTER STATUS
.
For more information about node IDs for MySQL Cluster SQL nodes, see
Section 17.3.2.6, “Defining
SQL and Other API Nodes in a MySQL Cluster”
.
•
--skip-ndbcluster
Command-Line Format
--skip-ndbcluster
Option-File Format
skip-ndbcluster
Disable the
NDBCLUSTER
storage engine. This is the default for binaries that were built with
NDBCLUSTER
storage engine support; the server allocates memory and other resources for this
storage engine only if the
--ndbcluster
[1610]
option is given explicitly. See
Section 17.3.1,
“Quick Test Setup of MySQL Cluster”
, for an example.
17.3.4.3. MySQL Cluster System Variables
This section provides detailed information about MySQL server system variables that are specific to
MySQL Cluster and the
NDB
storage engine. For system variables not specific to MySQL Cluster, see
Section 5.1.4, “Server System Variables”
. For general information on using system variables, see
Section 5.1.5, “Using System Variables”
.
•
have_ndbcluster
[1611]
Variable Name
have_ndbcluster
Variable Scope
Global
Dynamic Variable
No
Permitted Values
Type
boolean
YES
if
mysqld
supports
NDBCLUSTER
tables.
DISABLED
if
--skip-ndbcluster
is used.
This variable is deprecated in MySQL 5.1, and is removed in MySQL 5.6. Use
SHOW ENGINES
instead.
•
multi_range_count
Version Introduced
5.0.3
Command-Line Format
--multi_range_count=#
Option-File Format
multi_range_count
Option Sets Variable
Yes,
multi_range_count
[1611]
Variable Name
multi_range_count
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...