![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
Damien Desmarets wrote: 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. That's an easy one: localhost -> Unix socket 127.0.0.1 -> TCP socket HTH Kai I wan't change all scripts of my clients, they use localhost for the host. |
#4
| |||
| |||
|
|
Kai Ruhnau a écrit : localhost -> Unix socket 127.0.0.1 -> TCP socket I wan't change all scripts of my clients, they use localhost for the host. I want mysql to stopping using unix socket for localhost and use the IP of localhost (changing to a remote server not 127.0.0.1). |
#5
| |||
| |||
|
|
Kai Ruhnau a écrit : Damien Desmarets wrote: 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. That's an easy one: localhost -> Unix socket 127.0.0.1 -> TCP socket HTH Kai I wan't change all scripts of my clients, they use localhost for the host. I want mysql to stopping using unix socket for localhost and use the IP of localhost (changing to a remote server not 127.0.0.1). |
![]() |
| Thread Tools | |
| Display Modes | |
| |