Get to your mysql directory in a command prompt.
I type in
Code:
mysql -u root mysql
Then,
Code:
grant all privileges on *.* to username@localhost idenitified by 'password' with grant option;
Replace username and password with your user/pass for MySQL.
From there, type in "use <database>;"
Replace <database> with the name of your database.
Then type in the query posted above. I use an older version of MySQL and am not sure if the 'mysql -u root mysql' will work anymore. If not, browse around for how you would do it.