MySQL Forums
Forum List  »  Perl

Re: DBD::mysql -- Perl Module wont install
Posted by: Robert Mazur
Date: April 19, 2005 01:14PM

Hey guys,

Just a moment ago I posted this in a perl newsgroup. I had the same issue for the past few days.

Solution to getting DBD::mysql to build:

Build MySQL from source so that the libraries needed for the DBD::mysql
install exist. Some of them are not provided with the binary downloads
of MySQL. This worked for me on both a Solaris9 box, as well as a
SuSE9.1 box using MySQL4.1.11 and perl 5.8.6...both built with gcc.

Note that when installing DBD::mysql, you will want MySQL up and
running, and you will want to be sure you have proper permissions set
to access the database. You may want to install DBD::mysql by hand
(opposed to CPAN) so you can pass user/pass args to be used when perl
tries to access the database. Otherwise you are going to get errors
during the "make test".

Also be sure you have all your ncurses, termcap and libz packages installed on your linux box.

Have fun everyone.

Options: ReplyQuote

Written By
Re: DBD::mysql -- Perl Module wont install
April 19, 2005 01:14PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.