Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Where can I get DBI and the appropriate DBD module?

Quote Reply
Where can I get DBI and the appropriate DBD module?
Dear all,

I would like to where can I download the Perl database modules: DBI and the appropriate DBD
module?

Because when I tired to install mysql version, it said I dont have the database module to connect to the database. I think the problem is because i haven't install the above modules.

My server is running on Redhat 5.2.

Regards,
Bear
Quote Reply
Re: Where can I get DBI and the appropriate DBD module? In reply to
check CPAN (www.cpan.org)

If you have your own server, using the CPAN module makes it all very painless to install. If you are on someone elses server, it's best to ask them if they can install it into the perl directories directly (root access makes it all go easier).

Quote Reply
Re: Where can I get DBI and the appropriate DBD module? In reply to
As pugdog mentions, if you have root, just do:

perl -MCPAN -e shell

and then type:

install DBI

and then

install DBD::mysql

and it will install everything for you. If that doesn't work, you can do it by hand by going to:

http://perl.com/...ules/by-modules/DBD/

and getting the DBI and Msql-Mysql modules.

Cheers,

Alex