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 'slaveuser@xx.xx.xx.xxx: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
MS Access top 3 lines hashed out
Unkown error 0x80040119 While sending/receiving
after sp2 update for my sbs 2003 i can not connect to the server by RDP
Email address and display name convention
Error "The text, ntext, and image data types cannot be used"...
atoi(getenv())
Disable the Shift Key
Sync Outlook private contacts witha public folder.
find duplicate records in MS Access
The sparrow.sys problem - Adaptec AHA 154x/164x Driver for Win XP