title: RELOAD privileges in order to flush hosts
body: <p>I was connected to a remote mysql server but after a few bad connections (due to automation) I was blocked from the server. I am trying to unblock myself.</p>
  
  <p>A prompt suggested I perform a <code>mysqladin flush-hosts</code></p>
  
  <pre><code># This was done locally
  $ mysql -h remote_host -u user_name
  ERROR 1129 (HY000): Host 'remote_host' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
  $ mysqladmin flush-hosts
  mysqladmin: refresh failed; error: 'Access denied; you need (at least one of) the RELOAD privilege(s) for this operation'
  </code></pre>
  
  <p>I get this message:</p>
  
  <pre><code>mysqladmin: refresh failed; error: 'Access denied; you need (at least one of) the RELOAD privilege(s) for this operation'
  </code></pre>
  
  <p>Because I am pretty new to mysql and mysql-workbench I am not sure how I can fix this issue. </p>
  
  <p>I also tried to SSH into the <code>remote_host</code> and typed in the command <code>mysqladmin flush-hosts</code> but I get the error:</p>
  
  <pre><code>error: 'Access denied for user 'user1'@'localhost' (using password: NO)'
  </code></pre>