Hi,

The perl DBI does not prints error message:
$sth = $dbh->prepare($insert_sql)
          || print ERRFILE_OUT "prepare: $insert_sql: $DBI::errstr";

The out of this error only does not print why the error was occurred.
eg.
Unable to execute query: DBI::db=HASH(0x8647df0)->errstr:

Dan anyone please tell me how to prints how a description of the error from DBI when sql executed failed?

Thanks
Sam


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to