mariadb jdbc client having issues, but mysql client working
This issue has been reported before; allegedly it is a server issue and should already be fixed, but it still exists.
Client: mariadb-java-client-2.3.0.jar Server: Mariadb 10.3.10
Symptom: When running my app I get java.sql.SQLNonTransientConnectionException: Could not connect to localhost:3306 : unexpected end of stream, read 0 bytes from 4
No changing of timeouts in the JDBC URL seems to have any effect.
When I replace the mariadb jdbc client by a mysql client it works just fine.