I'm trying to configure my first MySQL cluster using the documentation at dev.mysql.com. I have my management and data nodes up, but I'm running into this error when I start the server on my SQL node:
[Note] NDB: NodeID is 4, management server '172.16.186.137:1186'
[Note] NDB[0]: NodeID: 4, no storage nodes connected (timed out)
[Warning] NDB: server id set to zero - changes logged to bin log with server id zero will be logged with another server id by slave mysqlds
I've found previous posts from people having this error that were behind a firewall, but my connectivity to the management host is good and its logs show the SQL node connecting:
[MgmtSrvr] INFO -- Nodeid 4 allocated for API at 172.16.186.136
[MgmtSrvr] INFO -- Node 4: mysqld --server-id=0
[MgmtSrvr] WARNING -- Node 2: Releasing node id allocation for node 4
## ndb_mgm output:
[ndbd(NDB)] 2 node(s)
id=2 @172.16.186.134 (mysql-5.5.30 ndb-7.2.12, Nodegroup: 0, Master)
id=3 @172.16.186.135 (mysql-5.5.30 ndb-7.2.12, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @172.16.186.137 (mysql-5.5.30 ndb-7.2.12)
[mysqld(API)] 1 node(s)
id=4 (not connected, accepting connect from 172.16.186.136)
## The SQL node's my.cnf:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
ndbcluster
[mysql_cluster]
ndb-connectstring=172.16.186.137
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
I've exhausted myself going over the confs and everything appears to be set correctly. If anyone could offer some suggestions, it would be greatly appreciated.
[Note] NDB: NodeID is 4, management server '172.16.186.137:1186'
[Note] NDB[0]: NodeID: 4, no storage nodes connected (timed out)
[Warning] NDB: server id set to zero - changes logged to bin log with server id zero will be logged with another server id by slave mysqlds
I've found previous posts from people having this error that were behind a firewall, but my connectivity to the management host is good and its logs show the SQL node connecting:
[MgmtSrvr] INFO -- Nodeid 4 allocated for API at 172.16.186.136
[MgmtSrvr] INFO -- Node 4: mysqld --server-id=0
[MgmtSrvr] WARNING -- Node 2: Releasing node id allocation for node 4
## ndb_mgm output:
[ndbd(NDB)] 2 node(s)
id=2 @172.16.186.134 (mysql-5.5.30 ndb-7.2.12, Nodegroup: 0, Master)
id=3 @172.16.186.135 (mysql-5.5.30 ndb-7.2.12, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @172.16.186.137 (mysql-5.5.30 ndb-7.2.12)
[mysqld(API)] 1 node(s)
id=4 (not connected, accepting connect from 172.16.186.136)
## The SQL node's my.cnf:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
ndbcluster
[mysql_cluster]
ndb-connectstring=172.16.186.137
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
I've exhausted myself going over the confs and everything appears to be set correctly. If anyone could offer some suggestions, it would be greatly appreciated.