Skip to content

Change Mysql Root Password - Windows |best|

ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_strong_password'; FLUSH PRIVILEGES; EXIT; Stop MySQL service :

:

mysqld --console --skip-grant-tables --shared-memory Leave this window open. Open . change mysql root password windows

mysql -u root -p Enter current password. change mysql root password windows

net stop MySQL (if you lost password, see Method B). change mysql root password windows

net stop MySQL :

mysql -u root :