title: can't login to mysql server after GRANT ALL PRIVILEGES
body: <p>I had the same problem mentioned <a href="https://stackoverflow.com/questions/11922323/java-sql-sqlexception-access-denied-for-user-rootlocalhost-using-password">here</a>, so I logged in as <code>webuser</code> on mydomain.de/phpmyadmin and executed the query from the most pupolar answer:</p>
  
  <pre><code>GRANT ALL PRIVILEGES ON *.* TO 'webuser'@'localhost' IDENTIFIED BY 'webuser' WITH GRANT OPTION;
  </code></pre>
  
  <p>After that, I'm not able to login to phpmyadmin anymore with user=webuser. </p>
  
  <pre><code> #1045 Cannot log in to the MySQL server.
  </code></pre>
  
  <p>But on my website (subdomain.mydomain.de), where I use the same login to connect to my mysql-database, everything is ok.</p>
  
  <p>What have I done and how can I fix this?</p>