title: Connection Time Out JDBC-MySQL
body: <p>I have a Java application running Win 7 connecting to MySQL on the same host.   Eclipse IDE shows the following error every time after 8-10mins.    </p>
  
  <p>The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
      at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1070)
      at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2214)
      at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:781)
      at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:348)
      at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at iProclassHandlers.IProclass_Info_DAO.conn2SQL(IProclass_Info_DAO.java:151)
      at iProclassHandlers.IProclass_Info_DAO.toString(IProclass_Info_DAO.java:140)
      at iProclassParsers.IProclass_Info_Parser.printData(IProclass_Info_Parser.java:67)
      at iProclassParsers.IProclass_Info_Parser.runParser(IProclass_Info_Parser.java:38)
      at iProclassParsers.IProclass_main.main(IProclass_main.java:19)
  Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure</p>