Bug #7870 Can' connect to DB using MySQL5.0 and ConnectorJ 3.1
Submitted: 13 Jan 2005 12:28 Modified: 26 Jan 2005 19:14
Reporter: kd aal Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version: OS:Windows (Windows xp service pack 2)
Assigned to: CPU Architecture:Any

[13 Jan 2005 12:28] kd aal
Description:
Error while trying to login to database (I am use myeclipseide 3.8.3 and mysql 5.0.2-alpha, MySQLConnectorJ v3.1)
-

**BEGIN NESTED EXCEPTION***
java.io.EOFException

STACKTRACE:

java.io.EOFException
at com.mysql.jdbc.MysqIO.readFully(MysqlIO.java:1845)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2292)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2788)
.....(MysqlIO.java:753)
.....(MysqlIO.java:3562)
....(MysqlIO.java:1154)
....(Connection.java:1702)
....(Connection.java:405)

...
...

There are no .err file in the mysql/data directory and I can connect using mysql from command prompt after getting this error i.e. the database is still running.

Is this a bug that needs to be recorded?

How to repeat:
Insatall eclipse3.0.1, MyEclipseide 3.8.3, MySQL Server 5.0.2-alpha, MySQLConnectorJ v3.1 on XP service pack 2 and try to connect using the myeclipseide database explorer.
[25 Jan 2005 17:25] Mark Matthews
This is the same bug in the server that causes the server to crash/terminate connections when 'SHOW ...' is issued on windows, and is fixed in MySQL-5.0.3 (not yet released).
[26 Jan 2005 19:14] Jorge del Conde
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html