I would check the grant tables to see if host 127.0.0.1
has permission to access the DB. Even though they
are the same thing, I don't know if mysqld treats them
as the same thing.
Eugene
At 03:15 AM 11/09/2001 -0800, you wrote:
>Hello,
>
>Are there any obvious reasons why
>
>mysql -h localhost
Alex writes:
> Are there any obvious reasons why
>
> mysql -h localhost
> works and
> mysql -h 127.0.0.1
> does not.
Maybe not obvious, but a good reason nonetheless:
The string 'localhost' has a special meaning to mysql:
Connect locally using some platform-dependent means of IPC,
such as unix
Hello,
Are there any obvious reasons why
mysql -h localhost
works and
mysql -h 127.0.0.1
does not.
It says : ERROR 2003: Can't connect to MySQL server on '127.0.0.1'
(110)
/etc/hosts contain :
127.0.0.1 localhost
as a first line.
--
Best regards,
Alex mailto:[