1.下載8.0 安裝包
安裝其中的教程參考:
https://blog.csdn.net/qq_33144861/article/details/80267462
https://www.cnblogs.com/zhurong/p/9898675.html
安裝關鍵步驟實例:
microsoft visual c++ 2015 進行下載
點擊相應的選項之後再下面的框中會出現相應的vc安裝版本 在百度即可。
在其中設置你要添加的賬戶和密碼
如果出現之後
Authentication plugin 'caching_sha2_password' cannot be loaded
打開之後如下:
ALTER USER yourname@localhost IDENTIFIED WITH mysql_native_password BY 'password';
mysql:安裝完成之後的路徑爲:
C:\Program Files\MySQL\MySQL Server 8.0\bin