You can disable DBI from raising exceptions on errors. The error message might be helpful (if there is one).
$dbh->{RaiseError} = 0 ; # don't raise exception on error $dbh->{PrintError} = 1 ; # print errors to console $cursor->execute($region_id) or warn $DBI::errstr, "\n" ;
In reply to Re: Lost connection to MySQL server
by onelesd
in thread Lost connection to MySQL server
by spstansbury
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |