解决 win10安装MySQL服务失败,Install/Remove of the Service Denied!

时间:2024-04-13 19:25:59

换了固态, MySQL需要重新注册一下服务。

结果。。。

Install/Remove of the Service Denied!

解决 win10安装MySQL服务失败,Install/Remove of the Service Denied!

这就有点懵了,这咋回事呢,上次安装还好好的。

难不成是我my.ini文件自动更改格式了?可以参考我的这篇文章:

解决:MySQL服务无法启动、mysqld: [ERROR] Found option without...E:\mysql-8.0.16-winx64\my.ini at line 1

更改之后,然并卵,看来不是配置文件的锅。

继续百度解决方法,emmmmmm   找到原因了。

妈耶,是因为powerShell的权限不足导致的,以前使用cmd的时候,在mysql的bin目录下,直接shift+右键,然后安装服务。

更新了系统变成了酱紫:

解决 win10安装MySQL服务失败,Install/Remove of the Service Denied!

正确的做法:

这样才阔以:(win10)右击左下角,其他windows操作系统 自行百度

解决 win10安装MySQL服务失败,Install/Remove of the Service Denied!