List:General Discussion« Previous MessageNext Message »
From:Tiago Cruz Date:October 30 2007 10:15pm
Subject:PHP+MySQL: localhost or
View as plain text  
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 '', I'm not using socket and I'll be connected if I
have permission.

Now the question: Which one have better performance/ speedy?


Tiago Cruz
Linux User #282636

PHP+MySQL: localhost or Cruz30 Oct