mysql安装时卡在starting server的解决方法
在安装MySQL8.0.13的最后一步,配置启动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 (wit
在安装MySQL8.0.13的最后一步,配置启动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服务就没有任何问题了。
故障解除,安装成功

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐
所有评论(0)