Question : How can i solve this connection error in mysql replication?

Im currently configuring my two mysql servers for replication using Windows Server 2003. I used this link for setting up the servers: http://www.hackosis.com/index.php/2008/06/09/how-to-setup-mysql-replication-in-10-minutes/.

I made sure that the data on the master server is copied on the slave server.

However, when I view the logs on the slave, a connection error appears.

 [ERROR] Slave I/O thread: error connecting to master '[email protected]:3306': Error: 'Can't connect to MySQL server on 'xx.xxx.xx.xxx' (10060)'  errno: 2003  retry-time: 10  retries: 86400

 X.X.X.X -> ip address of the slave

CREATE USER slaveuser@ X.X.X.X IDENTIFIED BY slavepassword;
GRANT REPLICATION SLAVE ON *.* TO user@'X.X.X.X IDENTIFIED BY password;

CHANGE MASTER TO
MASTER_HOST=X.X.X.X, # ip address of the master
MASTER_USER=slaveuser,
MASTER_PASSWORD=slavepassword,
MASTER_PORT=3306,
MASTER_LOG_FILE=mysql-bin.0000012,
MASTER_LOG_POS=98,
MASTER_CONNECT_RETRY=10;

i just followed the steps on the link. Can somebody help me on this one? Can you give me a concrete sample in any case i missed something?

Thanks.

Answer : How can i solve this connection error in mysql replication?

i figured it out already. It just a permission issue regarding server security. Replication is running now.

Thanks for the comment.
Random Solutions  
 
programming4us programming4us