I have been following these instructions for resetting root password for local installation of MySQL 5.6
on Windows 7 laptop.
I stopped
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