I’m in the process of learning PHP and MYSQL. I created a new user with the privileges select, insert, update, delete, create, alter, index, and drop and they are database specific. When I try to have this user log in I keep getting
ERROR 1045 (28000): Access denied for user ‘bookorama’@’localhost’ (using password: YES).
I can log in as root user and I’m not sure what I need to do to be able to let this user use the database. Any help would be greatly appreciated.
In the case that you’ve executed the GRANT command correctly, execute the command “FLUSH PRIVILEGES;” and try again.
If it fails again you’ll have to check your GRANT command: http://dev.mysql.com/doc/refman/5.1/en/grant.html
An example: