Modify the password of mysql8 on Windows

 
Reference: https://developer.aliyun.com/article/676469
Last instruction to change password:

mysql -uroot -p

user mysql

set password for 'root'@'%' = '123456';

 


Read More: