I know that there is general_log 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?
Kaizoku, there is a tutorial on ehow.com about logging error queries in MySql. http://www.ehow.com/how_2221278_log-mysql-errors-php.html Check it out -BlastFree
ehow.com is really so good site... In that I found so many good things.. & Quick guide of that is the great..!!