delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/16/07:56:46

X-Spam-Check-By: sourceware.org
Message-ID: <44929C63.7020202@mysql.com>
Date: Fri, 16 Jun 2006 13:56:19 +0200
From: Magnus Svensson <msvensson AT mysql DOT com>
User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)
MIME-Version: 1.0
To: Nicholas Thayer <ndthayer AT comcast DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: MySQL 5.0.21 C API under cygwin
References: <e3tht4$2tg$1 AT sea DOT gmane DOT org> <e3tlmo$gpe$1 AT sea DOT gmane DOT org>
In-Reply-To: <e3tlmo$gpe$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Eric Lilja wrote:
>>
>> I just wanted to share this if someone else is wants to do what I want 
>> to: Develop C/C++ programs using Cygwin that talk to a native Windows 
>> MySQL server.

Great!

Nicholas Thayer wrote:
>  The issue with the
> /tmp/mysql.sock is that MySQL uses domain sockets for *NIX machines and 
> named pipes on Windows machines.  Specifying the IP address uses TCP/IP 
> sockets, which work as expected.

It would be interesting to see if the cygwin libmysql could be fooled 
into using named pipes when connecting to the native mysqld. I guess 
that could give some speedup, at least a big difference can be seen on 
*NIX  when using domain sockets instead of TCP/IP.

I'm just thinking loud here. :)
When compiling libmysql under cygwin it should be possible to also the 
compile in the named pipe support.

Best regards
Magnus


-- 
Magnus Svensson, Software Engineer
MySQL AB, www.mysql.com

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