List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:May 30 1999 8:39pm
Subject:Re: Localhost login problem
View as plain text  
At 9:08 PM +0300 5/30/1999, Tamir Rafael and Efim Koreban wrote:
>When I use :
>mysql -u user -p pass     === ok
>mysql -h localhost -u user -p pass ===> doesn't work
>How can I solve these?

What does "doesn't work" mean, that is, what error do you get?

You may be running on a system that uses MIT-pthreads, in which
case connections to "localhost" don't work.  Try the same command,
but substitute its real host name ( for
localhost, and see what happens.

By the way, it's better to use cut and paste to report the commands
you're actually using (and the error output).  The commands you
show above are not what you really typed: there should be no space between
-p and the password.

Paul DuBois, paul@stripped
Northern League Chronicles:
Localhost login problemTamir Rafael and Efim Koreban30 May
  • Re: Localhost login problemJim Faucette30 May
Re: Localhost login problemPaul DuBois31 May