Pb on connection to mysqld deamon

Hello,

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(mySQL Command.java:83)

Have you any idea about this problem ?
Thanks in advance.




--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
ouaddari [ Fr, 10 März 2006 17:48 ] [ ID #1223614 ]

Re: Pb on connection to mysqld deamon

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(mySQL Command.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/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Valeriy Kravchuk [ Fr, 14 April 2006 21:20 ] [ ID #1274087 ]
Datenbanken » gmane.comp.db.mysql.bugs » Pb on connection to mysqld deamon

Vorheriges Thema: configure error
Nächstes Thema: 5.0.19 on Solaris: hangs after several days