title: Can't set permissions on MySQL user
body: <p>I am trying to set the permissions for a MySQL user using the following command.</p>
  
  <p>GRANT ALL ON joomla.* to user@localhost;</p>
  
  <p>I have tried so many versions but they all return:
  ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'joomla2'</p>
  
  <p>Which seems to indicate that the username "user" is not getting passed? I have tried many versions of the command above, is there something else I need to be aware of.</p>
  
  <p>PS: my name is not actually "user" just in case someone mentions that it is a reserved word or something similar.</p>