Re: Connection Problem - Unexpected end of input stream
Posted by:
chandra b
Date: December 29, 2008 12:43PM
Hi All,
please give some solution,i am inserting some values into db,that time this type of errors is coming..plz give some solution it need full..
Inserting values in Mysql database table!
java.sql.SQLException: Communication link failure: java.io.IOException, underlyi
ng 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:1096)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:626)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562)
at com.mysql.jdbc.Connection.<init>(Connection.java:491)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:346)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at DB.main(DB.java:12)
** END NESTED EXCEPTION **
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:699)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562)
at com.mysql.jdbc.Connection.<init>(Connection.java:491)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:346)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at DB.main(DB.java:12)
Regards,
chandra
Subject
Written By
Posted
December 22, 2005 11:17PM
Re: Connection Problem - Unexpected end of input stream
December 29, 2008 12:43PM
November 01, 2007 12:36PM
September 02, 2005 02:04PM
September 02, 2005 03:31PM
September 07, 2005 01:37PM
September 26, 2005 09:24AM
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.