【Mysql报错】输入mysqld --install报错Install/Remove of the Service Denied!

Mysql输入mysqld --install报错Install/Remove of the Service Denied!

场景:
因之前还原过系统,导致mysql服务没有了,但是再D盘的相关文件还存在,于是尝试重新注册一个服务

然后执行mysqld --install
输入命令后返回Install/Remove of the Service Denied!

解决:

第一:需要在Mysql的安装路径下的bin文件夹路径下运行

第二:需要在以管理员运行的cmd中运行,不然会出错Install/Remove of the Service Denied!

猜你喜欢

转载自blog.csdn.net/debimeng/article/details/104108439