Your mySQL connections are timing out before your connection pool recognizes them. There are multiple ways to fix this:
- Increase the timeout value in mysql config file (my.ini)
- Reduce the idle time in your connection pool, so that it will discard the connection before mysql will close it
- Add a validate connection query in your pool config so that the pool tests each connection before it gives it to you, but this can slow down the system terribly.