in reply to Re: Problem with DBD::mysql install
in thread Problem with DBD::mysql install

I installed MySQL 4 fom the binary distribution on their site. It is in /usr/local/mysql... How do I point the cpan installer to this location?

Or what do I have to do for a manual install? Which options have to be set?

nmk

  • Comment on Re: Re: Problem with DBD::mysql install

Replies are listed 'Best First'.
Re: Re: Re: Problem with DBD::mysql install
by robartes (Priest) on Apr 08, 2003 at 06:40 UTC
    You need to make sure the CPAN installer finds the mysql-config script (or is it a binary). Put /usr/local/mysql/bin (or wherever it lives in your PATH):
    export PATH=$PATH:/usr/local/mysql/bin
    or, if you use a csh-like shell:
    setenv PATH $PATH:/usr/local/mysql/bin

    CU
    Robartes-

      nope, putting mysql's bin directory where the script you mentioned indeed is, did not solve the problem.

      here is the log of my attempt of installing manually and setting the options. mysqld was running at the time of the attempt...

      nmk

      thanks a lot, I will try it tonight and let you know how it went.

      nmk