Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

PHP+MySQL: localhost or 127.0.0.1?

From: Tiago Cruz <tiagocruz(at)forumgdh.net>
Date: Tue Oct 30 2007 - 18:15:26 EDT


Hello all,

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

--

Tiago Cruz
http://everlinux.com
Linux User #282636

--

MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=lists@pantek.com Received on Tue Oct 30 18:16:18 2007

Do you need help?X

This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:43:39 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library