命令行安装MySQL出现 Install/Remove of the Service Denied!

Windows8下安装MySQL  命令下进入bin目录  执行mysqld  -install时,

却出现Install/Remove  of   the  Service   Denied!

试了好多次,就是不成功。把bin目录加入到系统环境变量也不行。

度娘一下,才知道是Windows8权限问题,进入系统盘找到C:\Windows\System32\cmd.exe(文


件较多,可以快速搜索找到cmd.exe)右键以管理员身份运行  再次进入相应目录执行

mysqld    -install 显示Service successfully installed

  

然后net start mysql服务就添加到系统服务中了。
--------------------- 
作者:回车键 
来源:CSDN 
原文:https://blog.csdn.net/u010045671/article/details/38960009 
版权声明:本文为博主原创文章,转载请附上博文链接!

猜你喜欢

转载自blog.csdn.net/weixin_38098195/article/details/83987882
今日推荐