X-Spam-Check-By: sourceware.org Message-ID: <44929C63.7020202@mysql.com> Date: Fri, 16 Jun 2006 13:56:19 +0200 From: Magnus Svensson User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) MIME-Version: 1.0 To: Nicholas Thayer CC: cygwin AT cygwin DOT com Subject: Re: MySQL 5.0.21 C API under cygwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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/