[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql
Subject:    PHP+MySQL: localhost or 127.0.0.1?
From:       Tiago Cruz <tiagocruz () forumgdh ! net>
Date:       2007-10-30 22:15:26
Message-ID: 1193782526.19163.7.camel () tuxkiller
[Download RAW message or body]

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=mysql-marcsub@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic