Firstly, the correct syntax for the mysql client is:

mysql -u root -h hostname_or_ip_address -p

and then enter the password you are prompted.

You need to make sure you can connect FIRST, and THEN try replication.
 Running replication as root is a bad idea, by the way.  Better to set
up a replication user with minimal grants, and use that user.

http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html

for details.

If this doesn't help, try copying and pasting what you type and what's
returned.  "It didn't work" and "I got an error" are not sufficient.

-Sheeri


On 2/9/06, Chen Abella <[EMAIL PROTECTED]> wrote:
>
>  hi.
>
>  i have trouble with reoplication.
>
>  i cannot connect to the other server using:
>  mysql -u [EMAIL PROTECTED]
>
>  and i get an error msg in the log:
>
> [ERROR] Slave I/O thread: error connecting to master '[EMAIL 
> PROTECTED]:3306':  Error: 'Can't connect to MySQL server on 'server1' (13)'
>
>  how do i fix this?
>  anyone who can help... ?
>
>  thankyou...
>
>
>  chEn
> Send instant messages to your online friends http://uk.messenger.yahoo.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