|
Current version of MariaDB client library doesn't output actual exceptions when query fails for some reason.
I've recently came across this issue, when with MariaDB the exception was
Caused by: java.sql.SQLNonTransientConnectionException: Could not send query: Broken pipe
With official MySQL driver the exception was
Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (9028625 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
Which outputs the actual issue and doesn't imitate network issue.
|