If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > ConnectorJ 3.1 --> java.io.IOException: Unexpected end of input stream

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-16-04, 22:01
Theo Theo is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
ConnectorJ 3.1 --> java.io.IOException: Unexpected end of input stream

Hi all.

I use MySQL with Connector J.
I just updated to Connector J 3.1 and I now get the following error


SQL Connection exceptionjava.sql.SQLException: Communication link failure: java.
io.IOException, underlying cause: Unexpected end of input stream

** BEGIN NESTED EXCEPTION **

java.io.IOException
MESSAGE: Unexpected end of input stream

STACKTRACE:

java.io.IOException: Unexpected end of input stream
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:339 )
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:78 2)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:1585)
at com.mysql.jdbc.Connection.<init>(Connection.java:5 24)
at com.mysql.jdbc.Driver.connect(Driver.java:359)
at java.sql.DriverManager.getConnection(DriverManager .java:512)
at java.sql.DriverManager.getConnection(DriverManager .java:193)
at DbHelper.getConnection(DbHelper.java:34)
at DbHelper.main(DbHelper.java:466)


** END NESTED EXCEPTION **

I use MySQL 1.4.1
Any ideas on possible causes?

Thank you for your time,
Theo
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On