# How to 'flush hosts' on shared host

**URL:** <https://www.ruby-forum.com/t/how-to-flush-hosts-on-shared-host/73082>\
**Category:** Rails\
**Created:** [October 21, 2006, 1:51am UTC](https://www.ruby-forum.com/t/how-to-flush-hosts-on-shared-host/73082 "2006-10-21T01:51:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [October 21, 2006, 1:51am UTC](https://www.ruby-forum.com/t/how-to-flush-hosts-on-shared-host/73082/1 "2006-10-21T01:51:35Z")

</div>

I get the following error when trying to run my app on bluehost:

Host ‘[box137.bluehost.com](http://box137.bluehost.com)’ is blocked because of many connection errors;  
unblock with ‘mysqladmin flush-hosts’

So i attempt to flush hosts:  
shell\> mysqladmin flush-hosts -p  
error: for not having reload granted on the user im logged in as.

So i attempt to add reload to the current user:  
GRANT RELOAD on _._

I correct the syntax using ‘show grants’ as a guide.

grant reload on _._ for ‘[username]’@‘localhost’ identified by password  
‘[password]’

this results in an error 1045 access denied for ‘[username]’@‘localhost’  
(using password yes)

Would appreciate some help with this.

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [October 22, 2006, 12:36am UTC](https://www.ruby-forum.com/t/how-to-flush-hosts-on-shared-host/73082/2 "2006-10-22T00:36:56Z")

</div>

I tried : grant reload on _._

But get a syntax error

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [October 22, 2006, 5:01am UTC](https://www.ruby-forum.com/t/how-to-flush-hosts-on-shared-host/73082/3 "2006-10-22T05:01:46Z")

</div>

Get freelance or telecom-job here!!

> **[Google Sites: Sign-in](https://accounts.google.com/v3/signin/identifier?dsh=S1225198800%3A1689802857190158&continue=https%3A%2F%2Fsites.google.com%2Fsite%2Fsites%2Fsystem%2Ferrors%2FWebspaceNotFound%3Fpath%3D%2Ffreelancetelecom%2F&followup=https%3A%2F%2Fsites.google.com%2Fsite%2Fsites%2Fsystem%2Ferrors%2FWebspaceNotFound%3Fpath%3D%2Ffreelancetelecom%2F&ifkv=AeDOFXiuKIpPqHVm4qdGvKwKMgwtezVjj9vN16gl5eVxHJqA7asoyHXhPbJRTvF3E_kSHLNXFeRv&passive=1209600&service=jotspot&flowName=GlifWebSignIn&flowEntry=ServiceLogin)**
>
> Access Google Sites with a personal Google account or Google Workspace account (for business use).

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [October 22, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/how-to-flush-hosts-on-shared-host/73082/4 "2006-10-22T19:47:53Z")

</div>

dude thats low, advertising on forums.
