http://www.perlmonks.org?node_id=1033275


in reply to Re: DBI fails to return an error code
in thread DBI fails to return an error code

Nonesense. The problem was a bug in DBD::mysql. You should be able to rely on DBIs err and errstr methods.