Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: MySQL and Perl
Date: Mon, 22 Sep 2003 22:58:16 -0700
Lines: 40
Message-ID: <bkondq$59a$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en,ru

Recently I embarked on trying to get MySQL running under Cygwin for a 
project I'm working on in Perl. I have downloaded both DBI and DBD for 
MySQL for Perl. Installing DBI was no problem. But DBD didn't work. So I 
searched the archives and found 
http://sources.redhat.com/ml/cygwin/2003-02/msg01717.html which states:

DBI should build out of the box, which version (Perl, DBI, ...) did you 
try? To build DBD::mysql DBI needs to be installed and also the mysql 
client import lib libmysqlclient.a. MySQL binary 
mysql-3.23.43-pc-cygwin-i586.tar.bz2 including the client lib and the 
(not stable running) server:
http://koeln.convey.de/cywgin/mysql/

However that link goes nowhere (literally).

Additionally the readme for the DBD package states:

Windows/CygWin

Unfortunately it seems that the usual MySQL windows binaries cannot be 
combined with the CygWin libraries. At least I don't know how. In other 
words: You need to compile your own MySQL client binaries. In what 
follows I assume that you have downloaded and extracted the MySQL 
sources and the DBD::mysq sources to /usr/local/src. The following steps 
should do:

So where do I get the MySQL sources? (Attempting to download the source 
from: 
http://www.mysql.com/downloads/download.php?file=Downloads%2FMySQL-4.0%2Fmysql-4.0.15a.tar.gz&pick=mirror 
yeilds nothing but errors!).

I think it would be advantagous to have a Cygwin package for just the 
MySQL client and/or the MySQL libraries needed to use MySQL as well as a 
MySQL server compiled under Cygwin. Apparently that doesn't seem to exist.



===
Obligatory witty line: Honk If you want to see my finger



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

