1 message in com.mysql.lists.javaPlz help me with this communication l...
FromSent OnAttachments
Umer Habib13 Apr 2004 08:05 
Subject:Plz help me with this communication link failure
From:Umer Habib (uha@hometheaterstore.com)
Date:04/13/2004 08:05:38 AM
List:com.mysql.lists.java

Hi MySql Gurus,

I am having problem in making a jdbc connection to remote mysql server (version
3.23.36). I m using J/Connection. It gives me following error

Cannot connect to database serverjava.sql.SQLException: Communication link
failure: java.io.EOFException, underlying cause: null

** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1319) at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1338) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:565) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1654) at com.mysql.jdbc.Connection.<init>(Connection.java:432) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:400) at java.sql.DriverManager.getConnection(DriverManager.java:543) at java.sql.DriverManager.getConnection(DriverManager.java:194) at vd.Inventory.main(Inventory.java:27)

** END NESTED EXCEPTION **

Please give me some hints to solve it. Thanks in advance.

umer

________________________________________________________________ This message is confidential and for intended recipient(s) only.