InMotion Hosting Support Center

Host is blocked, can I unblock with mysqladmin flush-hosts ?

Category: Databases

2013-09-05 10:03 am EST

Hits: 8,411
When I connect to database, i recieve error : "Host is blocked because of many connection errors; unblock with mysqladmin flush-hosts".
What does it mean? How decide this problem?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


19,030 Points
2013-09-05 11:42 am EST
Hello SergeyGorbachov,

Thank you for your question. It looks like you are being blocked from connecting to the host due to "many connection errors."

Since it does not seem you are connecting to our servers, I recommend contacting the Tech Support for the server you are connecting to. They may have to allow access for your specific user.

If you are trying to connect to our server, please provide a domain name or something I can look your account up with.

If you have any further questions, feel free to post them below.
Thank you,


You must login before you can post a comment about this answer.

Thank you for your help.
My Login ID:

Problem is still.
73 Points
2013-09-06 4:25 am EST
Hello Sergey,

I have gone ahead and run mysqladmin flush-hosts for you on the shared server, which should allow you to attempt to connect once again from your IP address.

Taking a look at things, it would appear you don't have any database users currently assigned to your database. You can follow the steps for how to create and attach a database user in cPanel to resolve this.

More than likely you have an application that is trying to connect to your database, but because no database user has been assigned it keeps failing, triggering the default 10 max_connect_errors setting of the server which blocks remote hosts after 10 connection errors in a row.

Please let us know if this has resolved your issues, and if you have any further questions at all.

- Jacob
9,968 Points
2013-09-06 12:45 pm EST
Like this Question?

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!