in reply to Perl Script connecting to DBD::MySql problem

Is this line 115?
my $drh = DBI->install_driver( $driver )
If so try changing it to:
my $drh = DBI->install_driver( $driver ) or die DBI->errstr;
You may get more useful information.

rnahi is right to note that you don't need install_driver but it may not be where your problem is.