Microsoft
Software
Hardware
Network
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/in
dex.php/20
08/06/09/h
ow-to-setu
p-
mysql-re
plication-
in-10-minu
tes/
.
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]
:33
06': 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=slavepass
word,
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
C#.net--Ajax-- how do i get the value of a bound filed which is inside an update panel ---from a javscript fuction call.
Telnet comand
Oracle Disk space
SQL Query: How to sum the result of two queries?
Understanding the behaviour of waitpid(-1, NULL, WNOHANG)
Copying a file and adding the date to the copied file using a batch script
Unix Script for Reading text file line by line
Getting Invalid character value for cast specification. error when asp page calls sp
Access Denied to network shares and offline files whilst synchronization is active
Issue with Excel Macro not running on any machine but one