Yes, I did try both hostname and IP, but can't work although I can ping to
the two boxes from each other.
Just wondering if it is because of the port(3306) got disabled??


Thanks,
Jenny




On 12/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> Jenny Chen <[EMAIL PROTECTED]> wrote on 12/02/2005 12:27:33 PM:
>
> > Hi,
> >
> > I'm trying to connect to the MySQL server on the RedHat AS 4 from a
> remote
> > Solaris SPARC box. When I run the command:
> >
> > mysql -h HOSTNAME
> >
> > I got the error as
> >
> > ERROR 2003 (HY000): Can't connect to MySQL server on 'HOSTNAME' (145)
> >
> >
> >
> > Could anyone please explain what the mean of the error message and how
> to
> > solve it?
> >
> >
> >
> >
> >
> > Thanks,
> >
> > Jenny
>
> The value after the -h must either be a valid hostname in your
> organization or an IP address. If you can "ping" the server you want to
> reach by name, that's the name to use. Otherwize use the IP address of the
> machine you are trying to reach.
>
> Shawn Green
> Database Administrator
> Unimin Corporation - Spruce Pine

Reply via email to