参考:https://www.cnblogs.com/daydayupup/p/14537578.html
上面有初始password!
一些命令:
(注意端口号,不同MySQL版本端口号应该不一样,如3036,3037)
password:1wQ3!/Pb;42>
mysqld install MySQL8
mysql -u root -P 3307 -h localhost -p
F:\ChromeDownloads\mysql-8.0.31-winx64\bin\mysqld MySQL8
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
mysqld --install MySQL8
标签:MySQL8,mysqld,切换,mysql,MySQL57,password,root,端口号 From: https://www.cnblogs.com/zhangfurong/p/16975046.html