首页

运行mysqld.exe -install提示“Install/Remove of the Service Denied!”错误

标签:mysql     发布时间:2022-10-15   

一、错误描述

通过mysqld.exe  -install注册mysql服务时,报“Install/Remove of the Service Denied!”错误提示

运行mysqld.exe  -install提示“Install/Remove of the Service Denied!”错误

二、解决方法

1)因直接cmd运行“命令提示符”报上面错误,如下图,右击以管理员身份运行“命令提示符”

运行mysqld.exe  -install提示“Install/Remove of the Service Denied!”错误

2)重新执行mysqld.exe  -install后“Service successfully installed.”可以正常注册成功

运行mysqld.exe  -install提示“Install/Remove of the Service Denied!”错误

另外,通过mysqld.exe   --remove mysql卸载mysql服务

C:\xwood_net\setup_software\mysql-8.0.25-winx64\bin>mysqld.exe   --remove mysql@b@Service successfully removed.
<<热门下载>>