0

Hi all

I am getting following exception in mysql db randomly.

** END NESTED EXCEPTION **

Last packet sent to the server was 1 ms ago.
11-9-2011 12:0:11 Exception in readFile Method in insertRecordInDataBasecom.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1865)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2256)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2756)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1536)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1626)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3025)


can anyone suggest why this exception comes in MySql ????

2
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by manish250
0

I have an java application which inserts the data into db.This exception occurs daily so i want to know the reason.
It occurs sometime otherwise my application is running successfully

What exactly you are trying to do , that raises this exception ?

0

I know that but i want to know the reason of this exception.

You need to debug both your application and DB code that is being called form application.

0

Without knowing the exact piece of code that you are executing, it is practically not possible to guess the reason of this exception.

0

I am not asking for the error in my code I am just asking what the meaning of this exception.whether mysql has been full

You need to debug both your application and DB code that is being called form application.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.