Reputation: 11
GRANT ALL PRIVILEGES ON database.* TO 'username'@'localhost' IDENTIFIED BY 'password';
I got the ERROR
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 ''username'@'localhost' IDENTIFIED BY 'password' at line 1
Upvotes: 0
Views: 819