Date: 10/11/06 (PHP Community) Keywords: php, mysql, sql I haven't found much documentation on using a mysql socket 'localhost:/path/To/mysql.socket' versus just doing 'localhost' or 'myIP' when connecting to mysql using the php client library. Anyone know of any difference? I assume that sockets are more secure/faster because it doesn't have to go through the net stack just to communicate with a process that is on the same machine. But was curious if anyone knew.
|