in reply to Bizarre error using DBD::ODBC

The HY000 SQLSTATE indicates a general error which is indicated by the text either in the ODBC driver itself or where the lower level engine has not indicated an error code itself. I think you will find the solution in this article.

/J\