Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

MySQL Client cannot connect to second SQL Node (1 reply)

$
0
0
Setting up my first Cluster, everything seems ok

4 physical servers
2 ndb_mgmd 10.180.250.50, 10.180.250.51
2 mysqld 10.180.250.50, 10.180.250.51
2 ndbd 10.180.250.52, 10.180.250.53

----------------------------------------------------------------------
ndb_mgm show --- everything connected properly

[ndbd(NDB)] 2 node(s)
id=3 @10.180.250.52 (mysql-5.5.25 ndb-7.2.7, Nodegroup: 0, Master)
id=4 @10.180.250.53 (mysql-5.5.25 ndb-7.2.7, Nodegroup: 0)

[ndb_mgmd(MGM)] 2 nodes(s)
id=1 @10.180.250.50 (mysql-5.5.25 ndb-7.2.7)
id=2 @10.180.250.51 (mysql-5.5.25 ndb-7.2.7)

[mysqld(API)] 2 nodes(s)
id=101 @10.180.250.50 (mysql-5.5.25 ndb-7.2.7)
id=102 @10.180.250.50 (mysql-5.5.25 ndb-7.2.7)
----------------------------------------------------------------------

The mysqld process is running on both api nodes but I can only connect to node 101. The data also gets put on node 102 so the cluster is working in that respect.

If i try to connect to node 102 (on that local machine even) it says it cannot find the mysql server.

Should I not be able to connect to either mysql servers?

to start each server i used
mysqld --defaults-file:/conf/my.102.cnf (my.101.cnf for Node 101)

here is my.102.cnf
----------------------------------------------------------------------
[mysqld]
ndb-nodeid=102
ndbcluster
datadir=C:\Users\mintoadmin\MySQL_Cluster\My_Cluster\data\mysqld_2
port=3307
ndb-connectstring=10.180.250.50:1186,10.180.250.51:1186
----------------------------------------------------------------------

Please let me know if this is a dumb question or if more information is required.

Thanks.

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>