MySQL Forums
Forum List  »  Connector/JDBC and Java

Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Posted by: Jonathan Stuart
Date: March 16, 2010 05:13AM

I'm getting error below

### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 44,454 milliseconds ago. The last packet sent successfully to the server was 44,454 milliseconds ago.
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 44,454 milliseconds ago. The last packet sent successfully to the server was 44,454 milliseconds ago.

I have a job that queries the database (through ibatis )every minute and on occasion will produce error above.

Environment as follows
Windows XP
Java 1.6
MySql 5.1.35
ibatis 3 beta 7

Any ideas of how to solve?

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
March 16, 2010 05:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.