Re: EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost
Posted by: Zoltán Tóth
Date: October 18, 2009 05:37AM

Hi,

Had the same problem on Arch Linux, MySQL 5.1.38, mysql-connector-java-5.1.9
The soulution was to add a line to my /etc/hosts.allow file:

mysqld: ALL

'ALL' could be substituted by some more fine grained access control according to the hosts.allow man page.

Hope this helps.

Cheers,
Zoli

Options: ReplyQuote


Subject
Written By
Posted
Re: EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost
October 18, 2009 05:37AM


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.