Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

 
discard

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.