Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4041EDF2.1040504@inf.ethz.ch> Date: Sun, 29 Feb 2004 14:49:38 +0100 From: Fabrice Marchal User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 MIME-Version: 1.0 To: "Gerrit @ cygwin" Subject: Re: Crash of mysql under cygwin with g++ 3.3.1 References: <15954380034 DOT 20040228015909 AT familiehaase DOT de> <115176853932 DOT 20040229120024 AT familiehaase DOT de> <4041C8DD DOT 9020903 AT inf DOT ethz DOT ch> <126181708262 DOT 20040229132118 AT familiehaase DOT de> In-Reply-To: <126181708262.20040229132118@familiehaase.de> X-Enigmail-Version: 0.76.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at inf.ethz.ch X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on medoc X-Spam-Report: No (score= 1.2, required=6.3) * 29. -- Februar -- 2004 um 12:11 schriebst du: > > > >>Hallo Gerrit, >> >> > > * 1.2 -- OPT_HEADER -- Headers include an "opt"ed phrase Gerrit P. Haase wrote: >Hallo Fabrice, > >Am Sonntag, 29. Februar 2004 um 12:11 schriebst du: > > > >>Hallo Gerrit, >> >> > > > >>thanks a lot for your help, now I have it working properly, with a >>statically >>linked client and I only need to tell users to use the cygwin1.dll. >> >> > > > >>I only had to do a small work-around because my client keeps telling me >>that it >>"cannot connect through /var/mysql/mysql.sock". The workaround is >>to use mysql_real_connect with host=127.0.0.1 because if I use >>"localhost" it turns to named pipes instead of using TCP. Any idea why it >>is that way? >> >> > >No, sorry. It never worked with TCP/IP when using host=localhost, I >always use the IP address of the host where the server is running, >only exception is when I use the Cygwin-MySQL server running at my >local box where it also works via /var/mysql/mysql.sock. > > >Gerrit > > Well, I wonder how the "mysql" client manage to connect: for instance the client which is compiled in you binaries doesnt work (i.e. "cannot connet throuch socket....") while the mysql clientprovided in Mysql-4.0.18 for windows work. Fabrice -- ======================================================================== Fabrice Marchal http://www.inf.ethz.ch/~marchal fabrice DOT marchal AT ieee DOT org marchal AT inf DOT ethz DOT ch +41-(0)1-632-56-79 ETH Zurich, CoLab Computational Laboratory FAX:+41-(0)1-632-17-03 ======================================================================== -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/