Can someone help me here. I am missing something very minor, but I'm not sure what. The MYSQL manual was a bit confusing. Thanks. syntax MSQL 4.1.21 Error SQL query: mysql > GRANT ALL ON DB NAME TO username IDENTIFIED BY 'password' MySQL said: Documentation #1064 - 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 mysql > GRANT ALL ON DB NAME TO username IDENTIFIED BY 'password' at line 1
Not an expert. I think the proper form is: GRANT ALL PRIVILAGES ON dbname.* TO username@localhost IDENTIFIED BY 'password' The .* after the dbname indicates access to all table in the database.