转载:
在安装MySQL8.0的最后一步,配置启动MySQL服务的时候,MySQL启动失败,查看Log日志错误如下:
Attempting to start service MySQL80...
Failed to start service MySQL80.
Waiting until a connection to MySQL Server 8.0.13 can be established (with a maximum of 10 attempts)...
Retry 1: 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.
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 3 seconds before the next connection attempt...
故障揣测
由于新装的操作系统,之前出现过权限不足的提示,故首先定位故障为权限问题。由于MySQL80服务在 计算机管理->服务 里面显示户别为:网络服务。
解决步骤
所以为提高网络服务权限,需将网络服务添加到管理员组,步骤如下:
计算机->管理->本地用户和组->组 双击:
双击Administrators
点击添加
点击高级
立即查找
把 NETWORK SERVICE添加到Administrators组
层层点击确定返回,再启动MySQL80服务就没有任何问题了。
故障解除,启动服务正常
————————————————
版权声明:本文为CSDN博主「爱萨萨」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/wdr2003/article/details/84824870








暂无数据