v.20.6Improvement

Write Detailed Exception Message for MySQL Server Issues

Write the detail exception message to the client instead of 'MySQL server has gone away'. #12383 (BohuTANG).
Improves error reporting by sending detailed exception messages to the client instead of the generic 'MySQL server has gone away' message.

Why it matters

This feature enhances debugging and user experience by providing precise and informative error messages when exceptions occur, replacing the ambiguous and unhelpful generic message that previously appeared.

How to use it

No special configuration is needed; the detailed exception messages are now sent to the client by default when relevant errors occur.