MySQL Forums
Forum List  »  NDB clusters

Continue: Can data node, mgm node and mysqld reside on the same computer??
Posted by: yun tian
Date: September 05, 2006 04:46AM

Dear Sir/Madam:

Thank you for giving me the suggestion. To answer your question: "have you enabled the ndbcluster option for mysqld and given it the connectstring?" Yes, definitely,but still, mysqld node cannot connect to the cluster. Here is my configuration file for mysqld node and mgm node,respectively:


---------------------------/etc/my.cnf---------------------
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
ndbcluster
ndb-connectstring=10.37.6.35
[mysql.server]
user=mysql
basedir=/usr/local/mysql

[safe_mysqld]
err-log=/var/log/mysqld.log
#err-log=/home/var/log/mysqld.lo
pid-file=/var/run/mysqld/mysqld.

[mysql_cluster]
ndb-connectstring=10.37.6.35
[client]
socket=/var/lib/mysql/mysql.sock
---------------------------end: /etc/my.cnf---------------------

---------------------------/var/lib/mysql-cluster/config.ini--------------------
[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]
SendBufferMemory=512K
ReceiveBufferMemory=128k
[NDB_MGMD]
HostName=10.37.6.35
DataDir=/home/var/lib/mysql-cluster
[NDBD]
HostName=10.37.6.35
DataDir=/home/var/lib/mysql-cluster
[MYSQLD]
HostName=10.37.6.35
---------------------------end: /var/lib/mysql-cluster/config.ini-------------


Given the above two files, Where is the problem causing the mysqld node disconnected??

Thanks a million:-)

Sincerely:
tianyun

Options: ReplyQuote


Subject
Views
Written By
Posted
Continue: Can data node, mgm node and mysqld reside on the same computer??
1510
September 05, 2006 04:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.