Hi I am Using Java with MySql . I have taken some x hosting service,in that i have deployed my java .war file it is worked some days ,since 2 days i am getting some error that is

java.sql.SQLException: null, message from server: "Host 'X host' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'".

I used normal database connection as well as connection pooling.

My code is :

Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://IP Address:3306/DBName?user=xxxxx&password=YYYYYYY");

..

Please Give a solution ..

Edit
Report