MySQL Forums
Forum List  »  NDB clusters

Adding a new SQL node to a mysql Cluster
Posted by: Jensen Zheng
Date: January 19, 2009 09:49PM


I have MySQL cluster(mysql-5.1.30 ndb-6.3.20) running and I wanted to add a sql node.
So I have added the new node to the management node and added the management node to the my.cnf of the sql node.
After that I have restarted all the datanodes and when I view the configuration in the management node it shows the following:

Cluster Configuration
[ndbd(NDB)] 2 node(s)
id=2 @ (Version: 5.0.32, Nodegroup: 0)
id=3 @ (Version: 5.0.32, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @ (Version: 5.0.32)

[mysqld(API)] 2 node(s)
id=4 @ (Version: 5.0.32)
id=5 @ (Version: 5.0.32)

So everything seems to be configured correctly and the cluster management node is aware of all the data and sql nodes.
The problem however is, that the new datanode does not load the databases. When I would do execute 'SHOW DATABASES' on the new sql node it only shows me the standard databases which come with MySQL, and not the databases running in the cluster.

Is there a step that I have forgotten?

Options: ReplyQuote

Written By
Adding a new SQL node to a mysql Cluster
January 19, 2009 09:49PM

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.