mysql> GRANT, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX,
-> ALTER, CREATE TEMPORARY TABLES, LOCK TABLES
-> ON dbname.*
-> TO 'user'@'localhost'
-> IDENTIFIED BY 'pass';
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 ' SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TA' at line 1
Been having this error on and off constantly lately and have no idea why.