in reply to Re^2: Problems with DBI::trace_msg
in thread Problems with DBI::trace_msg

I finally managed to find that the DBI::trace_msg error is being caused by the $sth->prepare line. When it hits that line, it tries errors and tries to print the error message, but for some reason DBI::trace_msg is not defined and THAT causes an error as well. So now I know where the error is, but not what the error is since the error reporting process is blown up as well. I've checked mysql and the permissions for that username and password are correct and working.

Replies are listed 'Best First'.
Re^4: Problems with DBI::trace_msg
by moritz (Cardinal) on Jun 23, 2008 at 20:16 UTC
    Well, you should pass an SQL string to $dbh->prepare - may that's the problem?