I have been following these instructions for resetting root password for local installation of MySQL 5.6 on Windows 7 laptop.
MySQL 5.6
I stopped
Without editing mi.ini:
service mysql stop mysqld_safe --skip-grant-tables
on a separate ssh session:
update mysql.user set password=PASSWORD('NEW PASSWORD') where user='root';
no need to flush privileges, just restart the server