How do I flush hosts in mysql

Asked by:
Agent89 / 5 Points
2012-05-11 9:15 pm EST
Warning: mysql_connect() [function.mysql-connect]: Host '' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in

To ask this user for more information, please first login.

To submit an answer, please login.



16,417 Points
2012-05-11 9:58 pm EST
Hello Agent89,

I spoke with a T2c and had him review your account. You didn't give us enough detail to be absolutely sure of the cause of the problem, but we were going to take a few guesses. The first possibility is that you're trying to login to the database remotely. If that is the case, then you may need to change your settings and actually set it to login as "localhost" since the MYSQL server is actually local to the web server. You will not be able to flush the MYSQL, only the Tier2c or System admins here will be able to do that.

You can call into technical support, submit a service ticket to, or provide further detail on the issue here by submitting further information on the problem. Please be aware that coverage for the Community Support forum is typically Monday-Friday 9:00 AM - 9:00 PM Eastern. (Technical support is available 24 hours a day/ 7 days a week).

Apologies for possibly not giving you an answer you can use immediately, but hopefully this steers you in the right direction. If you have any further questions, please contact technical support or leave a comment at the bottom of the page.


Arnel C.

To submit a comment on this answer, please first login.

Changing the IP to localhost seemed to have worked for me...
3 Points

2013-05-15 4:32 pm EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.