Hi.

On Fri, Jun 22, 2001 at 09:04:14PM +0200, [EMAIL PROTECTED] wrote:
> How do you force mysql to use either TCP/IP Sockets or UNIX Sockets?
> And how do you know which one it uses?

"localhost" uses UNIX sockets, "<hostname>" uses TCP/IP sockets.

You can indirectly determine what connection was used by running

SELECT USER();

and looking whether you are considered to come from "localhost" or
from "<hostname>".

Bye,

        Benjamin.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to