How to log SQL syntax errors in MySQL with tcpdump
Today I needed to capture a list of erroring MySQL queries on a server without introducing client-side code changes or a man in the middle proxy.
The slow_query_log will only log successful queries. The general_log will log everything if raw_log is set to ON, but will