MYSQL 安装时遇到这个问题 The configuration for MySQL Server 8.0.22 has failed. You can find more information

MYSQL 安装时遇到这个问题
The configuration for MySQL Server 8.0.22 has failed.
You can find more information about the failures in the ‘Log’ tab.

在这里插入图片描述

第一个方法

看是否正确以管理员安装MySQL

在windos 的cmd下安装mysql

在mysql的bin目录下面执行: mysqld --install

报错:
信息如下:
Install/Remove of the Service Denied
解决办法:
打开cmd.exe程序的时候选择“用管理员身份打开”。
在这里插入图片描述
C:\Windows\system32>mysqld --install
Service successfully installed.
在这里插入图片描述

第二种情况

解决方法: windows左下角找到计算机管理->服务,找到MYSQL服务,右键属性,登陆选,将登陆身份换为本地系统用户即可解决问题

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/m0_52896752/article/details/126500703