title: phpMyAdmin - #1044 - Access denied for user
body: <p>All I want to do is make a new user with all permissions on a database. I am trying this:</p>
  
  <pre><code>GRANT ALL PRIVILEGES ON `some-db`.* To 'username'@'hostname' IDENTIFIED BY 'password';
  </code></pre>
  
  <p>Unfortunately, this returns </p>
  
  <pre><code>#1044 - Access denied for user 'username'@'hostname' to database 'some-db'
  </code></pre>
  
  <p>Although I am able to access the database <code>some-db</code> through phpMyAdmin, MySQL doesn't let me. I don't understand this very well, can someone please help?</p>