Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When ever I type in :

GRANT ALL PRIVILEGES minecraft.* TO 'minecraftu'@'%' IDENTIFIED BY '********';

It gives me an error of :

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minecraft.* TO 'minecraftu'@'%' IDENTIFIED BY '********'' at line 1

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You're missing the word ON.

GRANT ALL PRIVILEGES ON minecraft.* ....
share|improve this answer
GRANT ALL PRIVILEGES ON minecraft.* TO 'minecraftu'@'%' IDENTIFIED BY '*********'; Still didn't work. – user2833135 Oct 28 '13 at 21:48
So what was the error, then? – Michael Hampton Oct 28 '13 at 21:52
Sorry nevermind, I just had to restart PUTTY. Thank you for your help. – user2833135 Oct 28 '13 at 21:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.