views:

51

answers:

2

So that I can just check the logs to see which statements are wrong at a unified location.

+4  A: 

Have you read the documentation for the MySQL error log?

Bill Karwin
A: 

If by "which statements are wrong" you mean "which queries", I don't think the error log helps: it logs mysql starting, stopping, crashing, checking or repairing tables... I think you need to use the general query log and post-process it yourself (with a script or something) to extract errant queries only.

Alex Martelli