I am trying to set the permissions for a MySQL user using the following command.
GRANT ALL ON joomla.* to user@localhost;
I have tried so many versions but they all return: ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'joomla2'
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.
PS: my name is not actually "user" just in case someone mentions that it is a reserved word or something similar.