I've got mysql logging log_slow_queries or whatever, and had turned on all query logging for a moment before I found it to just be spammy and thus useless.
How can I log only mysql queries that result in syntax errors?
You should look at the general log:
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago
24 days ago