List:Cluster« Previous MessageNext Message »
From:Yan Anic Date:July 1 2009 1:05am
Subject:Error connecting to master [cluster-replication]
View as plain text  
Hi all,

I am having a problem when starting a cluster replication with MySQL
cluster 7.0.6.

Master and Slave clusters are up and running but I get a common
problem from the replication side: IO Thread does not start with an
error "error connecting to master 'repl@localhost:13307' - retry-time:
60  retries: 86400"

I tested my connection parameters and it seems they are OK.

I am wondering what I can do to investigate more / solve this error.

Did you introduce some changes in how to start a cluster replication
in version 7.x?
I just set up a cluster-replication with version 6.3 and all works as
expected, there.

Here's my slave log:

090701  0:44:01 [ERROR] Slave I/O: error connecting to master
'repl@localhost:13306' - retry-time: 60  retries: 86400, Error_code:
2013
090701  0:44:01 [Note] Slave SQL thread initialized, starting
replication in log 'xxxxxx.000001' at position 107, relay log
'./xxxxxxx-relay-bin.000001' position: 4

And here's the master log:

090630 23:06:26 [Note] NDB Binlog: Node: 3, subscribe from node 5,
Subscriber bitmask 020
090701  0:08:24 [Warning] Neither --relay-log nor --relay-log-index
were used; so replication may break when this MySQL server acts as a
slave and has his hostname changed!! Please use
'--relay-log=xxxxxx-relay-bin' to avoid this problem.

Any help is appreciated.

Thanks,
Yan.
Thread
Error connecting to master [cluster-replication]Yan Anic1 Jul 2009
  • Re: Error connecting to master [cluster-replication]Jonas Oreland1 Jul 2009
    • Re: Error connecting to master [cluster-replication]Tobias Asplund1 Jul 2009