Oracle 5.0 Reference Manual page 1572

Table of Contents

Advertisement

There are a number of different ways to specify the connectstring:
• Each executable has its own command-line option which enables specifying the management server
at startup. (See the documentation for the respective executable.)
• It is also possible to set the connectstring for all nodes in the cluster at once by placing it in a
[mysql_cluster]
• For backward compatibility, two other options are available, using the same syntax:
1. Set the
2. Write the connectstring for each executable into a text file named
the executable's startup directory.
However, these are now deprecated and should not be used for new installations.
The recommended method for specifying the connectstring is to set it on the command line or in the
file for each executable.
my.cnf
The maximum length of a connectstring is 1024 characters.
17.3.2.3. Defining Computers in a MySQL Cluster
The
[computer]
defining host names for each node in the system. All parameters mentioned here are required.
Id
Effective Version
MySQL 5.0.0
Restart Type: IN
This is a unique identifier, used to refer to the host computer elsewhere in the configuration file.
HostName
Effective Version
MySQL 5.0.0
Restart Type: S
This is the computer's hostname or IP address.
17.3.2.4. Defining a MySQL Cluster Management Server
The
[ndb_mgmd]
used as an alias; the two section names are equivalent. All parameters in the following list are optional
and assume their default values if omitted.
MySQL Cluster Configuration Files
section in the management server's
NDB_CONNECTSTRING
section has no real significance other than serving as a way to avoid the need of
Type/Units
string
Important
The computer ID is not the same as the node ID used for a management,
API, or data node. Unlike the case with node IDs, you cannot use
place of
in the
Id
Type/Units
name or IP address
section is used to configure the behavior of the management server.
Note
If neither the
ExecuteOnComputer
the default value
environment variable to contain the connectstring.
Default
[none]
section of the
[computer]
Default
[none]
nor the
will be assumed for both.
localhost
1552
file.
my.cnf
and place this file in
Ndb.cfg
Range/Values
...
file.
config.ini
Range/Values
...
parameter is present,
HostName
in
NodeId
can be
[mgm]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents