title: #1130 - Host ‘localhost’ is not allowed to connect to this MySQL server
body: <p>I issued a command of:</p>
  
  <pre><code>DROP USER 'root'@'localhost'; GRANT ALL PRIVILEGES ON . TO 'root'@'%';
  </code></pre>
  
  <p>...in PhpMyAdmin. Immediately after the execution, I was forced out PhpMyAdmin.  I got: </p>
  
  <p>error</p>
  
  <blockquote>
    <p>#1130 - Host 'localhost' is not
    allowed to connect to this MySQL
    server,</p>
  </blockquote>
  
  <p>how to resolve my problem?</p>