# yum -y install mysql-devel
should do.
The errors you get appear with missing 'mysql.h'.
( Have a look where the errors begin.)
DBD::mysql ... the current version is 4.012
http://search.cpan.org/~capttofu/DBD...b/DBD/mysql.pm
Generally about perl modules : much easier to get with
the cpan shell : # cpan , cpan > install <MODULE::NAME>
if # yum search <package> gives no result.
( The package 'perl-DBD-mysql' is available from the
rpmforge repo only, I think.)
.....