I have been following these instructions for resetting root password for local installation of MySQL 5.6
on Windows 7 laptop.
I stopped
For MySQL 5.6 on Windows I had to run this statement to make it work.
UPDATE mysql.user
SET Password=PASSWORD('NEW PASSWORD'),
authentication_String=PASSWORD('NEW PASSWORD')
WHERE User='root';
Go to mysql bin directory on cmd i,e. cd C:\ProgramData\MySQL\MySQL Server 5.6\bin
(Its a hidden directory)
mysqld.exe --skip-grant-tables
mysql.exe -uroot -p
(without any password you can login to mysql)UPDATE mysql.user set password=password('root password') WHERE user='root';
flush privileges
The issue has been resolved.
As stated in my question I followed instructions from MySQL manual.
The process did not go exactly as described (and this was the reason for my original post) but it worked nevertheless (see UPDATE section in my post).