Communication failure with Communications link Failure database

Asked

Viewed 176 times

1

I have a database that is in the cloud, because it’s from a site that I and some colleagues are creating and I needed to connect it to Netbeans, I put the host, the name of the database, user and password and it’s all right, but when I’m going to do a SELECT, an INSERTION of data or even when I want to view the tables, the connection drops and shows the exception:

com.mysql.jdbc.exceptions.jdbc4.Communicationsexception: Communications link Failure.

If I run the command again it works, but only if you try again log in after the error occurs.

I wanted to solve so I didn’t have to execute the command twice.

Thank you!!!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.