List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 22 2001 9:05pm
Subject:Re: TCP/IP Sockets, UNIX Sockets
View as plain text  
At 9:04 PM +0200 6/22/01, Daniel Åkerud wrote:
>How do you force mysql to use either TCP/IP Sockets or UNIX Sockets?
>And how do you know which one it uses?
>
>It is for a performance analysis.
>
>Thanks!
>
>Daniel Åkerud

If you connect to "localhost", MySQL will use a UNIX socket if possible.
If you connect to "127.0.0.1", MySQL will use a TCP/IP connection.

If you connect to a remote host, TCP/IP is always used.

-- 
Paul DuBois, paul@stripped
Thread
TCP/IP Sockets, UNIX SocketsDaniel Ã…kerud22 Jun
  • Re: TCP/IP Sockets, UNIX SocketsPaul DuBois22 Jun
  • Re: TCP/IP Sockets, UNIX SocketsBenjamin Pflugmann22 Jun
    • Re: TCP/IP Sockets, UNIX Socketstrogers23 Jun