mysql reset on computer code example Example: how to change mysql root password in windows 10 ALTER USER 'root'@'localhost' IDENTIFIED BY 'NewPassword';