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 sockets. It's special to the clients, but also
to the privilege system.

//C

-- 
 Carl Troein - Círdan / Istari-PixelMagic - UIN 16353280
 [EMAIL PROTECTED] | http://pixelmagic.dyndns.org/~cirdan/
 Amiga user since '89, and damned proud of it too.


---------------------------------------------------------------------
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