Your Perl has problems with the DBI-Mysql module. Check that the two hookup OK. Write a small script that connects to the MySQL server and do a simple query. It's more likely that it's your DBI-MySQL module.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.