I am trying to set up a MySQL 5.1 cluster on Solaris 10. I have created
the config.ini file and successfully started the Management node. When
I try to start the first data node, it fails with the following error:
Unable to connect with connect string: nodeid=0,localhost:1186
Any help will be appreciated.
Here is the config.ini (names changed to protect the guilty)
# file "config.ini" MySQL Cluster Configuration file
# This file is only needed on the cluster management node
[ndbd default]
NoOfReplicas=1
DataMemory=80M
IndexMemory=18M
DataDir=/usr/local/mysql/data
# Management node options
[ndb_mgmd]
id=1
HostName=srvr1.lvl1.lvl2.lvl3
DataDir=/usr/local/mysql/data
# Data node 1 options
[ndbd]
id=2
HostName=srvr2.lvl1.lvl2.lvl3
DataDir=/usr/local/mysql/data
# Data node 2 options
[ndbd]
id=3
HostName=srvr3.lvl1.lvl2.lvl3
DataDir=/usr/local/mysql/data
# SQL node options
[mysqld]
id=4
HostName=srvr4.lvl1.lvl2.lvl3
Here is the my.cnf file for the data node:
[ndb default]
NoOfReplicas=2
[mysqld]
ndbcluster
ndb-connectstring=srvr1.lvl1.lvl2.lvl3
[mysql_cluster]
ndb-connectstring=srvr1.lvl1.lvl2.lvl3
Paul Sowash
LaRC - ConITs Contract
Dabase Administrator
(757) 224-4073