Hello.


When you are connecting using mysql, you usually don't specify the destination 
port.

By default it's 3306.

And at the same time master-port=1111. Send us complete contents of config

files. What is in master error log? Check to what port slave instance is trying

to connect (with tcpdump, netstat for example).





Terence <[EMAIL PROTECTED]> wrote:

> Hi,

> 

> I am trying to setup replication on MySQL.

> 

> Version 4.1.0alpha

> 

> Using:

> ./bin/mysql -h <IPADDR> -u replication -p

> I can connect successfully, but my error logs show

> 

> 041221  1:12:41  Slave I/O thread: error connecting to master 

> 'replication # MU@<IPADDR> # MUST BE SET:3306': Error: 'Can't connect to 

> MySQL server on '<IPADDR> # MUST BE SET' (111)'  errno: 2003  

> retry-time: 60  retries: 86400

> 

> Google hasnt turned up anything useful. Any ideas anyone? What am I 

> doing wrong.

> 

> Master

> # The MySQL server

> [mysqld]

> server-id=1

> log-bin

> 

> Slave

> # The MySQL server

> [mysqld]

> server-id=9

> master-host=<IPADDR>

> master-port=1111

> master-user=replication

> master-password=<password>

> 

> show master status

> >bin.0001 position: 4486513

> 

> thanks!

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to