I have executed following commands to create new user
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
Now I have exit from Mysql. Again I have enter in mysql terminal with "newuser"
Then Again I have created new user with following commands
CREATE USER 'newuser2'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser2'@'localhost';
FLUSH PRIVILEGES;
It returns following error
mysql> grant all privileges on *.* to newuser2@localhost identified by 'pass' with grant option;
ERROR 1045 (28000): Access denied for user 'newuser'@'localhost' (using password: YES)