MySQL Forums
Forum List  »  Perl

Re: Install on solaris mysql dbi and dbd, client side mysql
Posted by: Simon Liu
Date: May 31, 2005 05:32AM

First, you should download the package from the CPAN. You can find the DBI/DBI:Mysql at

and, install it.

gzip -d DBI-1.48.tar.gz
tar xvf DBI-1.48.tar
cd DBI-1.48
perl Makefile.PL
make;make install;make clean

perl -MCPAN -e shell
install DBI
do the same thing.

I doen't find the bin package. I think it need compile because it depend on the system.

The DBD install will error if your mysql's bin path doesn't in the PATH variant.
You can add it like this:

export PATH

And, last notice:
DBD::Mysql package's installation will take trouble to you if you doesn't have the static library "". Try to make one when you install MySQL.

Options: ReplyQuote

Written By
Re: Install on solaris mysql dbi and dbd, client side mysql
May 31, 2005 05:32AM

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.