Re-4: Socket Problem

2005-07-20 Thread lmarcilly
I have already test and it doesn't work, my stunnel doesn't work properly. I have asked my question on stunnel-users mailing list but i d'ont have answer for the moment... Thanks for your help! Original Message Subject: Re: Re-2: Socket Problem (20-juil.-2005 16:11) From:[

Re-2: Socket Problem

2005-07-20 Thread lmarcilly
When i try mysql -h server --port=3306 --protocol=TCP -u user --password=xxx it works! The real problem is when using stunnel, i have to do as if i will connect to a local server... On windows it works but not on linux... :( Original Message Subject: Re: Socket Problem (20-jui

Re-2: Socket Problem

2005-07-20 Thread lmarcilly
> mysql is trying to connect to localhost by default. Yes, i know that, but with stunnel, when i connect to localhost, it is suppose to connect to the remote server. LinuxBox -> 3306 -> stunnel -> 3307 <> 3307 <- stunnel <- 3306 <- Server On my linux box, i try to connect to local port 330

Socket Problem

2005-07-20 Thread lmarcilly
Hi, i try to use mysql with stunnel (http://stunnel.org) in order to encrypt my mysql connections. I know that mysql-4.x supports SSL but i can't compile it on my windows box. When i try to use stunnel on my windows box, it works, i just have to use this command : mysql -u user --password=xxx