View Single Post

   
  #1 (permalink)  
Old 02-28-2008, 08:13 AM
Damien Desmarets
 
Posts: n/a
Default Replace localhost Unix socket connection by Localhost TCP/IP connection

Hi
I would like to know how don't use unix socket when i set the hostname
of the mysql database to localhost.
It seems that when you set the hostname to localhost it use by default
the unix socket and not the IP translation for localhost (basicly
127.0.0.1).
I would use the TCP/IP connection to change the localhost IP to a remote
server, with it i have not to change all the clients scripts.

I'm sure i'm not the first to do this but i haven't found the response
on the mysql documentation, google and newsgroups.

Thanks

--

Damien Desmarets 1 place Paul Verlaine
Directeur Technique 92100 Boulogne-Billancourt - France
Deviant Network Tel. : 0 871 100 200
http://www.deviantnetwork.com Fax : 0 871 100 201

GPG : http://www.deviantnetwork.com/damien...etwork.com.asc
Reply With Quote