MySQL Forums
Forum List  »  NDB clusters

Re: Unable to connect SQL node to a MySQL cluster
Posted by: Cyril CLARISSE
Date: December 11, 2009 11:52AM

I confirm there is no FW between (and on) the different hosts.

I made another test which confirm this point. I used the following command line to launch mysql :

/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --user=mysql --ndbcluster --ndb-connectstring=

And it works !

#ndb_mgm -e show
Connected to Management Server at:
Cluster Configuration
[ndbd(NDB)] 2 node(s)
id=2 @ (mysql-5.1.39 ndb-7.0.9, Nodegroup: 0, Master)
id=3 @ (mysql-5.1.39 ndb-7.0.9, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @ (mysql-5.1.39 ndb-7.0.9)

[mysqld(API)] 2 node(s)
id=4 @ (mysql-5.1.39 ndb-7.0.9)

So the issue come from the fact that mysqld do not read (or understood ?) the content of the /etc/my.cnf. But what's wrong with it ?



Effectively, if I start mysqld with "service start mysql", the command-line displayed in the process list is :

/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/

Options: ReplyQuote

Written By
Re: Unable to connect SQL node to a MySQL cluster
December 11, 2009 11:52AM

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.