I am new to MySQL. I have created a database using CREATE DATABASE mydb; then created a new user using GRANT ALL ON mydb.* TO myuser IDENNTIFIED BY 'mypwd';
When a try and start mysql logging in as this user by typing mysql -u myuser -p at the LINUX prompt, I am prompted for a password. I type mypwd but I am refused access.
Why is this?