List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:March 8 2002 12:32am
Subject:Re: DBD::mysql for non-mysql box
View as plain text  
At 15:40 -0800 3/7/02, Brian Warn wrote:
>If I want to load DBD::mysql on a box where mysql is not installed, do I
>need to install some mysql components?  I'm doing this because I'll be

DBD::mysql uses the MySQL C client library.  You can't install without
it.

>connecting to a remote box from my perl script to query, etc. mysql on the
>remote box.  While using cpan to install the DBD::mysql module, I received
>the following errors:
>
>Can't exec "mysql_config": No such file or directory at Makefile.PL line
>167.
>Failed to determine directory of mysql.h. Use perl Makefile.PL
>--cflags=-I<dir>
>
>Since mysql.h normally lives in $MYSQL/include, I'm thinking that I'll have
>to install it locally to make this work.
>
>Thanks,
>Brian

Thread
DBD::mysql for non-mysql boxBrian Warn8 Mar
  • RE: :mysql for non-mysql boxBrian Warn8 Mar
  • Re: DBD::mysql for non-mysql boxPaul DuBois8 Mar