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

时间:2024-04-09 13:38:37

 your configuration for MySQL Server 8.0.21 has failed,you can find more information about the fail

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

点击右边的log,会发现 MySQL error 1042: Unable to connect to any of the specified MySQL hosts.

 

打开计算机管理中的服务

  点击MySQL80,右键属性-->登录-->本地账户登录即可

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

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