The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tomcat/mysql server problem

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

  1. SetLar8

    SetLar8 Well-Known Member

    Mar 5, 2004
    Likes Received:
    Trophy Points:

    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:

    Any help on this would be greatly appreciated.


Share This Page