[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re[4]: mysql server move



Oh,

 i understand, than you should really use the suggested
unix2tcp, that can redirect all connect's to an unix socket to an
tcp-socket anywhere
in the TCP/IP-world.

regards

michael


2005/7/19, Marek Podmaka <marki@onee.sk>:
> Hello Michael,
> 
>   I know that and I'm using rinetd also for other services. But the
>   problem was php trying to connect using unix socket whenever it
>   finds "localhost" (to connect to mysqld on localhost using tcp in
>   php, one has to use "localhost:3306" or "127.0.0.1"). So I needed to
>   redirect that unix socket somehow - and unix2tcp does this well I
>   think.
> 
> Tuesday, July 19, 2005, 13:05:28, Michael Schuh wrote:
> 
> MS> Hi use rinetd to redirect the connect's to the mysl-port.
> MS> if the users using DNS-names, put them into /etc/hosts
> MS> and be sure that the /etc/nsswitch.conf usese first file and then bind or nis.
> 
> MS> you can check this with mysql-client to the hostname/ip
> MS> and you must get the connect.
> MS> to look whats going on you can use logging from rinetd to
> MS> see what them make if you connect.
> 
> MS> rinetd handle the complete connect after the point that rinetd makes
> MS> the connection to the remote server.
> 
> MS> regards
> 
> MS> michael
> 
> 
> --
>   bYE, Marki
> 
> 
> --
> To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>



Reply to: