MySQL/JDBC connectivity issue
Posted by: Arvind Kumar
Date: April 06, 2015 09:39AM

I have three RHL (2) and CentOS (1) environments, at disperse locations with MySQL 5.5.42 or higher installed.
I am able to make MySQL DB connection using SSH via MySQL workbench and putty both.
But using java client app I am able to connect only 1, others are giving jdbc error -

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
at java.lang.reflect.Constructor.newInstance(
at com.mysql.jdbc.Util.handleNewInstance(

I tried most of solutions suggest on different forums. Can someone guide me pleaseā€¦

Options: ReplyQuote

Written By
MySQL/JDBC connectivity issue
April 06, 2015 09:39AM

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.