delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT 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 |
X-Complaints-To: | usenet AT sea DOT gmane DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |