delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/29/07:22:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 29 Feb 2004 13:21:18 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
Message-ID: <126181708262.20040229132118@familiehaase.de>
To: Fabrice Marchal <fmarchal AT inf DOT ethz DOT ch>
CC: cygwin AT cygwin DOT com
Subject: Re: Crash of mysql under cygwin with g++ 3.3.1
In-Reply-To: <4041C8DD.9020903@inf.ethz.ch>
References: <15954380034 DOT 20040228015909 AT familiehaase DOT de> <Pine DOT LNX DOT 4 DOT 44 DOT 0402281333380 DOT 31254-100000 AT piz DOT ethz DOT ch> <115176853932 DOT 20040229120024 AT familiehaase DOT de> <4041C8DD DOT 9020903 AT inf DOT ethz DOT ch>
MIME-Version: 1.0
X-IsSubscribed: yes

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
-- 
=^..^=



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019