Re: Pb on connection to mysqld deamon

"Valeriy Kravchuk" <[email protected]> Fri, 14 Apr 2006 22:20:09 +0300
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <018001c65ff8$73171ae0$2c00a8c0@toshibauser>
Hi,

> I'm using mysql 3.23.39, and i have a java client connection to mysql 
> deamon.
> Today, we have a problem in a customer sites to connect to mysql deamon. 
> Here after the error mg : "java.sql.SQLException: Cannot connect to MySQL 
> server on localhost:3306. Is there a MySQL server running on the 
> machine/port you are trying to connect to? (java.io.EOFException)"
>
> In our client, we have this exceptions in the .err file :
> java.io.EOFException
>    at java.io.DataInputStream.readByte(DataInputStream.java:226)
>    at org.gjt.mm.mysql.MysqlIO.readPacket(MysqlIO.java:795)
>    at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:395)
>    at org.gjt.mm.mysql.Connection.<init>(Connection.java:231)
>    at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
>    at java.sql.DriverManager.getConnection(DriverManager.java:457)
>    at java.sql.DriverManager.getConnection(DriverManager.java:137)
>    at 
> com.alcatel.A1300.Database.mySQLCommand.openConnection(mySQLCommand.java:83)

Please, specify what Connector/J version was used.

> Have you any idea about this problem ?

Did MySQL server worked at that time? Do you have error log to check?

There are man ideas to check. Maybe, it just crashed. Or somebody installed 
a firewall amond you client and MySQL server. We need a lot of additional 
information and repeatable test case to call this a bug.

Also, please, upgrade you server to 3.23.58 at least. Your version is REALLY 
old.

Best regards,
-- 
Valeriy Kravchuk, Support Engineer
MySQL AB, Kiev, Ukraine, www.mysql.com 


-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]