com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Posted by: miriam kugel
Date: January 16, 2013 12:10PM

Hi,
Sorry for my Ebglish.
I have a strange problem, getting com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
in a netbeans desktop application that has a connection to a remote server . MySql database located in the server.
I am getting the connection once:
con = DriverManager.getConnection(connectionUrlInternet);
Then I am creating statements on this connection to update/insert data.
My system worked just fine for 1.5 years , once a week I had those
Communications link failure if at all.
Lately I am getting the failure every few minutes, the meanning - we cannot work.
The remote server manager cannot solve the problem - he didn't change anything.
He wants me to get the connection before each operation and close it.

Any idea please, I am lost.

Thank you
Miriam

Options: ReplyQuote


Subject
Written By
Posted
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
January 16, 2013 12:10PM


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.