troubleshooting Question

Adding a new SQL node to a mysql Cluster

Avatar of wiredpea
wiredpeaFlag for Netherlands asked on
MySQL Server
3 Comments1 Solution1408 ViewsLast Modified:
Hello,

I have this MySQL cluster 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    @192.168.0.103  (Version: 5.0.32, Nodegroup: 0)
id=3    @192.168.0.104  (Version: 5.0.32, Nodegroup: 0, Master)

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

[mysqld(API)]   2 node(s)
id=4    @192.168.0.101  (Version: 5.0.32)
id=5    @192.168.0.102  (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?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros