Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Posted by: Todd Farmer
Date: November 14, 2013 10:03PM

Hi Kiran,

The Exception you cite indicates a "can't reach the MySQL server from here" type of problem, and it seems likely that the root cause is the JDBC connection URL:

Caused by: java.net.UnknownHostException: localhosjdbct

I assume that's a mistaken host name.

Hope that helps!

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote




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.