[Haskell-cafe] Re: Strange error with HDBC-odbc and MySQL

John Goerzen jgoerzen at complete.org
Mon Dec 29 22:10:17 EST 2008

Justin Bailey wrote:
> I have run into a weird bug with HDBC-odbc that only occurs on my unix
> system. When I execute a select which returns more than 435 rows twice
> in the same process, the second execution fails with this error
> message:
>  SQL error: SqlError {seState = "[\"HYT00\"]", seNativeError = -1,
> seErrorMsg = "connectODBC/sqlDriverConnect: [\"1045:
> [unixODBC][MySQL][ODBC 3.51 Driver]Access denied for user
> 'dummy'@'localhost' (using password: NO)\"]"}

That seems like your error right there.  You aren't logging in to the
database properly -- wrong hostname, username, password, or database.

Not a bug in HDBC-odbc, I'd be pretty certain ;-)

More information about the Haskell-Cafe mailing list