How to log error queries in mysql?

Posted by Kaizoku on Server Fault See other posts from Server Fault or by Kaizoku
Published on 2010-04-20T07:28:04Z Indexed on 2010/04/20 7:33 UTC
Read the original article Hit count: 381

I know that there is general_log that logs all queries, but I want to find out which query has an error, and get the error message. I have tried running an error query on purpose, but it logs as a normal query and doesn't report it with error. Any ideas?

© Server Fault or respective owner

Related posts about mysql

Related posts about configuration