Excepcion:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
...
Caused by: java.net.SocketException: Broken pipe
I have already read a lot of question similar to this one. So, before declaring this question 'unworthy' let me clarify some things
My JDBC link is fully working.
- No problem of authentication
- Sql is up and running
- The
max_connections
, wich is 300, is never reached - The concurrent thread connections are always between 5 and 9
- Im using MySQL 5.0.95 (Yes... I´know,I have no control on the server resources)
- And Mysql-connector-java 5.1.5
- The mysql performance vars have been configured based on Percona Toolkit
My especific questions are:
- Is this error caused by network? because it looks like totally random.
- Is this the propper mysql-connector for the mysql version or could this be the source of all errors?
Thank you