Open
Description
MyBatis version
3.4.1
Database vendor and version
MySQL Oracle community edition version 5.7.13
Test case or example project
https://github.com/mberta/mybatis-test-mysql-aborted-connection
Steps to reproduce
Run the example project
Expected result
Actual result
The example project executes a dummy SELECT 1
statement against a mysql server and it generates an error message in mysql server log like this:
2016-11-03T11:30:44.894384Z 2558213 [Note] Aborted connection 2558213 to db: 'COPERNICO' user: 'copernicodba' host: '10.242.1.26' (Got an error reading communication packets)
Don't know if this is an issue or not, but it seems to me that mybatis shouldn't generate an 'aborted connection' as it does in the example project I've attached.
I should add that changing datasource type from POOLED
to UNPOOLED
makes the problem disappear.