- 下载 mysql 后解压,解压目录为
D:\mysql-5.7.28-win64
- 进入
cd D:\mysql-5.7.28-win64\bin
- 输入安装命令
mysqld install
此时提示“The service already exists ”
这是因为之前安装过 mysql 并且没有删除干净 - 管理员重新运行 CMD,输入
sc query mysql
查询名为 mysql 的服务 - 确实有安装过,输入
sc delete mysql
删除后重新安装就解决了。
相关文章
- 解决安装MySQL5.1出现Cannot create windows service for :0
- XSDK安装时出现Program group entry.Xilinx Design Tools,already exists for .4.Specify a different……
- 安装mysql会出现start service错误
- 解决 win10安装MySQL服务失败,Install/Remove of the Service Denied!
- 安装MySQL出现Job for mysqld.service failed because the control process exited with error code问题
- win10 安装 mysql 出现 “The service already exists ”
- 卸载MySQL服务(The service already exists)
- 安装mysql会出现start service错误
- 安装MySql时出现:The service already exists! The current server installed
- 安装mysql时出现 mysql Install/Remove of the Service Denied! 错误的解决办法