Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BB611B3.18740CEA@wapme-systems.de> Date: Sat, 29 Sep 2001 20:23:47 +0200 From: Stipe Tolj Organization: Wapme Systems AG X-Mailer: Mozilla 4.7 [de]C-CCK-MCD QXW0322b (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 CC: cygwin AT cygwin DOT com Subject: Re: Mysql References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > > 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? precompiled libraries of mysqlclient-3.x are available at http://www.student.uni-koeln.de/cygwin/ but may also be compiled with a more recent code base with the above configure swtich. Stipe tolj AT wapme-systems DOT de ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: info AT wapme-systems DOT de Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are -- 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/