Installing DBD::mysql from source

To install DBI and DBD:mysql from source, run the following:


wget http://www.cpan.org/modules/by-module/DBD/DBI-1.618.tar.gz
tar xvzf DBI-1.618.tar.gz
cd DBI-1.618
unset LANG;
perl Makefile.PL
make
make install

cd ..
wget http://www.cpan.org/modules/by-module/DBD/DBD-mysql-4.020.tar.gz
tar xvzf DBD-mysql-4.020.tar.gz
cd DBD-mysql-4.020
unset LANG;
perl Makefile.PL
make
make install

to install it from cpan, use this:

perl -MCPAN -e 'install Bundle::DBD::mysql'


Was this article helpful?

mood_bad Dislike 1
mood Like 0
visibility Views: 9147