X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-51.3 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Subject: Re: Back to mysql
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
To: cygwin <cygwin@cygwin.com>
In-Reply-To: <ie6bj8$kua$1@dough.gmane.org>
References: <ie6bj8$kua$1@dough.gmane.org>
Content-Type: text/plain; charset="UTF-8"
Date: Mon, 13 Dec 2010 20:47:01 -0600
Message-ID: <1292294821.3192.3.camel@YAAKOV04>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, 2010-12-13 at 18:52 -0500, Andrew DeFaria wrote:
> I'm trying to port a Perl script of mine that uses DBI and DBD::mysql 
> to update a database running on another, Linux, server. I have been able 
> to install DBI (cpan DBI) and get it to compile, but I cannot get 
> DBD::mysql to install. When I try I get
> 
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 
> 464.
> Can't find mysql_config. Use --mysql_config option to specify where 
> mysql_config is located
> 
> My understanding is that this mysql_config is only present when you 
> install mysql_client (well on a Linux system it's called mysql_client) 
> but IIRC there is no mysql_client for Cygwin - or is there?
> 
> Any workarounds? Is there a way I can install the Windows version of 
> mysql_client and have Cygwin's Perl interact with it?

mysql_config is YA foo-config script as included in some -devel
packages.  You can get mysql, libmysql*, perl-DBI, and perl-DBD-mysql
from Ports.


Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

