Hi,
   i have edited the host file but still the error message is the same. 
There seems to be no problem in connecting the master to slave, but vice a 
versa, no luck.

[root@linux] ~# mysql -h 192.168.1.2 -u slave -p
Enter password:
ERROR 2003: Can't connect to MySQL server on '192.168.1.2' (111)

Mathew

At 09:07 AM 4/9/01 -0500, you wrote:
>To eliminate DNS problems, put each machine in the others /etc/hosts
>file.
>
>MCA Department PESIT wrote:
> >
> > Hi there,
> >    the master is running on 192.168.1.2 and the slave on 192.168.1.5 , yes,
> > the master is running. the user name and password are correct. actually i
> > dont think it gets to the state of actually verifying the user name and
> > password. even if i do just a mysql -h 192.168.1.2 it gives me an immediate
> > error
> >
> > at 192.168.1.5
> >
> > [root@linux] /var/lib/mysql# mysql -h 192.168.1.2 -P 3306 -u slave -p
> > Enter password:
> > ERROR 2003: Can't connect to MySQL server on '192.168.1.2' (111)
> >
> > there are no errors at the server side and the error log is clean
> >
> > Mathew
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail 
> <[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>---------------------------------------------------------------------
>Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail <[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to