https://blog.csdn.net/qq_34444097/article/details/82315587

下载安装配置链接:https://blog.csdn.net/m0_37788308/article/details/79965378

mysql-8.0.16补充:

1.第一次登陆的随机密码在 C:\mysql-8.0.16-winx64\data\DESKTOP-0RHC6HC.err ,如图所示。

 win10下MYSQL 8.0.16的下载、安装以及配置

 

win10下MYSQL 8.0.16的下载、安装以及配置

 

 

 2.修改密码

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码';