in reply to MySQL Problem

Did you try getting the error message back from MySQL ? Try to find out what's breaking by using something like:
warn $dbh->errstr if $dbh->errstr;