delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/13/18:52:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Back to mysql
Date: Mon, 13 Dec 2010 18:52:08 -0500
Lines: 19
Message-ID: <ie6bj8$kua$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9pre) Gecko/20100821 Lightning/1.0b2 Lanikai/3.1.3pre
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

  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?
-- 
Andrew DeFaria <http://defaria.com>
Nostalgia isn't what it used to be.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019