Hi,

I have a client that is continually getting blocked from connecting to a mysql database and the following message is displayed on the page for the number connetions that are made:

java.sql.SQLException: Data source rejected establishment of connection, message from server: "#HY000Host 'localhost' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

I have to continually run "mysqladmin flush-hosts" to reset the error count and enable the connections again.

I have been told its something to do with persistent connections but cannot find anywhere to change this to non-persistent connections.

I found the following page but it hasn't really helped me: http://developer.spikesource.com/wik...nection_errors

Any help on this would be greatly appreciated.

Thanks.