...
If you see both DBI and DBD::mysql, then you are all set
2. goto the cpan installation by typing : perl -MCPAN -e shell
If DBI is not installed, install it by type
...
If it complains about not able to find mysql socket, our mysql.sock is at /home/db/mysql
mkdir /var/lib/mysql
ln -s /home/db/mysql/mysql.sock /var/lib/mysql/mysql.sock
4. If you are still having problems pass the tests, do
force install DBD::mysql