mysqld --console --skip-grant-tables --shared-memory Leave this window open. Open .
If you know password, just run:
mysql -u root -p Enter current password. change mysql root password windows
net stop MySQL (if you lost password, see Method B). see Method B).