我是靠谱客的博主 文静小鸽子,这篇文章主要介绍已解决:MySQL error 1042: Unable to connect to any of the specified MySQL hosts.1.场景2.解决方法,现在分享给大家,希望可以做个参考。

1.场景

安装mysql8.0的时候得到报错:

MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 10: Attempting to connect to Mysql@localhost:3306 with user root with no password...

MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Failed to connect to MySQL Server 8.0.25 after 10 attempts.
Ended configuration step: Starting the server

2.解决方法

桌面上的我的电脑->右键->管理->本地用户和组->选择用户->找到右边的administrator用户->右键属性->隶属于->点击右下角的添加->高级->立即查找->然后出来很多用户和权限->找到network service点击进去

最后

以上就是文静小鸽子最近收集整理的关于已解决:MySQL error 1042: Unable to connect to any of the specified MySQL hosts.1.场景2.解决方法的全部内容,更多相关已解决:MySQL内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(107)

评论列表共有 0 条评论

立即
投稿
返回
顶部