On 8/18/2013 5:29 AM, Ville Valkonen wrote:
> ehm.. 127.0.0.1 == localhost

http://dev.mysql.com/doc/refman/5.5/en/connecting.html

"On Unix, MySQL programs treat the host name localhost specially, in a way
that is likely different from what you expect compared to other network-based
programs. For connections to localhost, MySQL programs attempt to connect to
the local server by using a Unix socket file."

So no, 127.0.0.1 != localhost in the context of MySQL on Unix.
-- 
 Matthew Weigel
 hacker
 unique & idempot . ent

Reply via email to