in reply to Lost connection to MySQL server

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" ;

Replies are listed 'Best First'.
Re^2: Lost connection to MySQL server
by spstansbury (Monk) on Aug 30, 2011 at 16:16 UTC
    Thanks - I will incorporate that...