安装mysql服务,报错Install/Remove of the Service Denied!

在windows系统下打开cmd,找到mysql安装目录,执行以下指令

C:\Windows\system32>d:

D:\>cd D:\Program Files\mysql-5.5.24-winx64\mysql-5.5.24-winx64\bin

D:\Program Files\mysql-5.5.24-winx64\mysql-5.5.24-winx64\bin>mysqld --install


报错信息如下:

Install/Remove of the Service Denied!

解决办法:

打开cmd.exe程序的时候选择“以管理员身份运行”。

重复运行以上指令,此时提示

Service successfully installed.

猜你喜欢

转载自boat-in-sea.iteye.com/blog/2286846
今日推荐