mysql mysql> Grant all on mysql.* to 'root'@'localhost' identified by "password"; Query OK, 0 rows affected (0.00 sec) ========================================== At this point the priveleges are granted to root@localhost.
mysql> \q Bye I had to type \q to quit and type in the following: But ..... see what happened when I then typed in below.. ========================================= C:\mysql\bin>mysql -u root -h localhost ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO) I am asking why my access is still denied after I was GRANTED in the beginning!!! C:\mysql\bin>