windows-mysql 8.0安装

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

 

MySQL error 1042: Unable to connect to any of the specified MySQL hosts.

当出现下面的错误的时候需要操作的步骤为:

按下 win+r键 输入"services.msc“

切换为本地账户即可解决

posted @ 2022-12-07 18:37  diligently  阅读(34)  评论(0)    收藏  举报