delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/29/12:22:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 29 Sep 2001 11:26:07 -0500 (Central Daylight Time)
From: Michael Hoffman <grouse AT mail DOT utexas DOT edu>
Subject: Re: Mysql
In-reply-to: <1611035819.20010929163410@frontember.hu>
X-X-Sender: grouse AT mail DOT utexas DOT edu
To: Scr34m <scr34m AT frontember DOT hu>
Cc: cygwin AT cygwin DOT com
Message-id: <Pine.WNT.4.40.0109291115490.788-100000@barbecueworld>
MIME-version: 1.0

> I moved from linux /usr/inclode/mysql files into my cygwin include
> dir.

Don't do that.

You need libraries for MySQL. Build them from the MySQL source, using:

./configure --without-server

Of course, you will have to get the native Windows server if you want to
run the server locally.

A caveat: MySQL for Windows uses named pipes to talk to local clients,
whereas the MySQL library you compile will want to use UNIX sockets. I
found the easiest way to get them talking was to always use a host of
127.0.0.1, forcing INET sockets. Under perl DBI, if you use "localhost,"
somebody decides to be smart and use UNIX sockets anyway.

An additional caveat: There is probably a better way to do the above.
Stipe?
-- 
Michael Hoffman <grouse AT mail DOT utexas DOT edu>
The University of Texas at Austin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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