Hi Alexander,

@ 6:55:58 PM on 4/16/2001, Alexander Skwar wrote:

...
> In a mysql_connect() it is possible to specify a path to the socket
> which should be used for communicating with MySQL.

Yes, it's in the documentation.

int mysql_connect ([string hostname [:port] [:/path/to/socket]
                   [, string username [, string password]]])

http://www.php.net/manual/en/function.mysql-connect.php

> Now, when I connect thru a socket, is the datatransfer between PHP
> and MySQL faster than when I connect via a (loop-)network? I would
> assume so, because with a socket, there's not the network layer in
> the way which has to be taken care of.

> Is this correct?

No earthly idea.

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to