Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Problem with DBD::mysql install

by robartes (Priest)
on Apr 08, 2003 at 06:21 UTC ( [id://248842]=note: print w/replies, xml ) Need Help??


in reply to Problem with DBD::mysql install

Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
This suggests to me that either MySQL is not installed, or it is installed in a location that is not in your path. Try rpm -qa |grep -i mysql (don't know the exact package name, but this brute force method should find it if it's installed) to find out if mysql is installed.

CU
Robartes-

Replies are listed 'Best First'.
Re: Re: Problem with DBD::mysql install
by nmk (Initiate) on Apr 08, 2003 at 06:36 UTC

    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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://248842]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-24 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found