12.Mysql安装报错:Attempting to connect to Mysql@localhost:3306 with user root with no password解决方法

报错信息

Beginning configuration step: Starting the server

Attempting to start service MySQL80...
Failed to start service MySQL80.
Waiting until a connection to MySQL Server 8.0.29 can be established (with a maximum of 10 attempts)...
Retry 1: Attempting to connect to Mysql@localhost:3306 with user root with no password...
Unknown error: 发生一个或多个错误。
Waiting 5 seconds before the next connection attempt...
Retry 2: Attempting to connect to Mysql@localhost:3306 with user root with no password...

12.Mysql安装报错:Attempting to connect to Mysql@localhost:3306 with user root with no password解决方法_第1张图片

解决方案

原因

windows的权限管理问题

解决方法

步骤如下:
右击此电脑–>管理–>本地用户和组–>组–>双击Administrators–>添加–>高级
把NETWORK SERVICE添加到Administrators组

你可能感兴趣的:(SQL,报错,mysql,数据库,java)