|
|||||||||||
|
PHP+MySQL: localhost or 127.0.0.1?
From: Tiago Cruz <tiagocruz(at)forumgdh.net>
Date: Tue Oct 30 2007 - 18:15:26 EDT
Using PHP+MySQL, I've noted that: If I use 'localhost', I'm using socket to do the connection. If the socket was wrong, the connections was failed. If I use '127.0.0.1', I'm not using socket and I'll be connected if I have permission. Now the question: Which one have better performance/ speedy? Thanks -- -- This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:43:39 EDT |
||||||||||
|
|||||||||||