Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

tomcat/mysql server problem

Discussion in 'General Discussion' started by SetLar8, Mar 2, 2006.

  1. SetLar8

    SetLar8 Well-Known Member

    Joined:
    Mar 5, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    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/wiki/index.php/Question:mysqladmin_host_blocked_because_of_many_connection_errors

    Any help on this would be greatly appreciated.

    Thanks.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice