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!!!
Put the code of your connection pool or it will be hard to answer.
– Diéfani Favareto Piovezan