Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem installing perl module DBI::mysql

Status
Not open for further replies.

emilybartholomew

Technical User
Aug 3, 2001
82
US
I am unable to install the perl module DBI::mysql onto my red hat 7.2 machine. The error message says that mysql is not installed, even though I know for certain that it is. Has anyone else had this problem?
 
If you're using CPAN, install the DBI module first.

cpan> install DBI

This provides the standard set of programming functions for querying a variety of DBs.

Then install the MySQL DBD module.

cpan> install DBD::mysql ------------------------------------------------------------------
It's important to think. It's what separates us from lentils.
 
I recommend you use the RPM's for this.
When building servers I install the following:

(* = version number)
mysql*.rpm
mysql-devel*.rpm (u need this for perl)
mysql-server*.rpm

perl-dbi*.rpm
perl-dbd-mysql*.rpm

This is the most painless method.
Good Luck
 
/me would rather eat broken glass than use RPMs! ;-) ------------------------------------------------------------------
It's important to think. It's what separates us from lentils.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top