When I run:
mysql> grant all privileges on database.* to user@localhost;
It returns:
Query OK, 0 rows affected (0.00 sec)
Shouldn't it give an error as I'm not including "identified by 'password'" ?
Please clarify, the user already has a password.