Oracle 5.0 Reference Manual page 1569

Table of Contents

Advertisement

backward compatible. If you find such a change and we have not documented it, please report it in the
MySQL bugs database using the instructions given in
17.3.2.1. MySQL Cluster Configuration: Basic Example
To support MySQL Cluster, you will need to update
may also specify these parameters on the command line when invoking the executables.
# my.cnf
# example additions to my.cnf for MySQL Cluster
# (valid in MySQL 5.0)
# enable ndbcluster storage engine, and provide connectstring for
# management server host (default port is 1186)
[mysqld]
ndbcluster
ndb-connectstring=ndb_mgmd.mysql.com
# provide connectstring for management server host (default port: 1186)
[ndbd]
connect-string=ndb_mgmd.mysql.com
# provide connectstring for management server host (default port: 1186)
[ndb_mgm]
connect-string=ndb_mgmd.mysql.com
# provide location of cluster configuration file
[ndb_mgmd]
config-file=/etc/config.ini
(For more information on connectstrings, see
# my.cnf
# example additions to my.cnf for MySQL Cluster
# (will work on all versions)
# enable ndbcluster storage engine, and provide connectstring for management
# server host to the default port 1186
[mysqld]
ndbcluster
ndb-connectstring=ndb_mgmd.mysql.com:1186
You may also use a separate
read and used by all executables:
# cluster-specific settings
[mysql_cluster]
ndb-connectstring=ndb_mgmd.mysql.com:1186
For additional
System
Variables".
MySQL Cluster Configuration Files
Note
The options shown here should not be confused with those that are used
in
global configuration files. Global configuration options are
config.ini
discussed later in this section.
Important
Once you have started a
connectstring
previously, you cannot execute any
statements without having actually started the cluster. Otherwise, these
statements will fail with an error. This is by design.
[mysql_cluster]
variables that can be set in the
NDB
Section 1.7, "How to Report Bugs or
my.cnf
Section 17.3.2.2, "The MySQL Cluster
process with the
mysqld
parameters in the
[mysqld]
CREATE TABLE
section in the cluster
file, see
my.cnf
1549
as shown in the following example. You
NDBCLUSTER
in the
file as shown
my.cnf
or
ALTER TABLE
file for settings to be
my.cnf
Section 17.3.4.3, "MySQL Cluster
Problems".
Connectstring".)
and
ndb-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents