来是偶然,走是必然。——林清玄

今天安装mysql遇到个问题:

mysql windows msi下载地址:

https://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-8.0.27.1.msi

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

image-20211215204139220

我们进行处理这个问题:

image-20211215205001974

image-20211215204717573

image-20211215204738210

image-20211215204751846

image-20211215204801706

image-20211215204813896

image-20211215204824257

于是我又重装了一遍,因为我们服务已经安装成功了:

img

image-20211215204454784

所以要卸载服务:

首先打开注册表:

image-20211215204531947

image-20211215204546310

然后重启电脑再安装就装好啦!

image-20211215204623500