Oracle 5.0 Reference Manual page 1605

Table of Contents

Advertisement

17.3.2.7. MySQL Cluster TCP/IP Connections
TCP/IP is the default transport mechanism for all connections between nodes in a MySQL Cluster.
Normally it is not necessary to define TCP/IP connections; MySQL Cluster automatically sets up such
connections for all data nodes, management nodes, and SQL or API nodes.
To override the default connection parameters, it is necessary to define a connection using one
or more
[tcp]
connection between two MySQL Cluster nodes, and must contain at a minimum the parameters
and NodeId2, as well as any connection parameters to override.
NodeId1
It is also possible to change the default values for these parameters by setting them in the
default]
Connection parameters which can be set in
file are listed here:
NodeId1
Effective Version
MySQL 5.0.0
Restart Type: N
NodeId2
Effective Version
MySQL 5.0.0
Restart Type: N
To identify a connection between two nodes it is necessary to provide their node IDs in the
section of the configuration file. These are the same unique
described in
HostName1
Effective Version
MySQL 5.0.0
Restart Type: N
MySQL Cluster Configuration Files
It is not necessary to perform any restart of the cluster if new SQL or API nodes
can employ previously unused API slots in the cluster configuration to connect
to the cluster.
Note
For an exception to this rule, see
Connections Using Direct
sections in the
config.ini
section.
Important
Any
sections in the
[tcp]
other sections in the file. However, this is not required for a
section. This requirement is a known issue with the way in which the
file is read by the MySQL Cluster management server.
config.ini
Type/Units
numeric
Type/Units
numeric
Section 17.3.2.6, "Defining SQL and Other API Nodes in a MySQL
Type/Units
name or IP address
Section 17.3.2.8, "MySQL Cluster TCP/IP
Connections".
file. Each
section explicitly defines a TCP/IP
[tcp]
file should be listed last, following all
config.ini
and
[tcp]
[tcp default]
Default
[none]
Default
[none]
values for each of these nodes as
Id
Default
[none]
1585
[tcp
[tcp default]
sections of the
config.ini
Range/Values
...
Range/Values
...
[tcp]
Cluster".
Range/Values
...

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents