This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes mysql.jdbc.exceptions.jdbc4 Communication link error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "mysql.jdbc.exceptions.jdbc4 Communication link error" Watch "mysql.jdbc.exceptions.jdbc4 Communication link error" New topic

mysql.jdbc.exceptions.jdbc4 Communication link error

Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

Hi all,
I have downloaded the MySQL Connector J and put it in apache\common\lib as well as on the classpath.I have not yet managed to use JDBC because I continue getting a com.mysql.jdbc.exception.jdbc4 Communication link error....
I have configured resources inside my web.xml and have double checked that the usernames,passwords,tablenames etc are correct.....
What else should I check??

===>SCJP 1.5(72%)<===
Kevin Chen

Joined: Nov 02, 2008
Posts: 5
Is there more detail information such as exception stack?

Free as in Freedom
I agree. Here's the link:
subject: mysql.jdbc.exceptions.jdbc4 Communication link error
Similar Threads
not able to connect to mysql database
Error on Orion conecting sql
Installing problem for EJB 3.0 , jboss 4.0.5
How to Handle this Exception