广告资源W1

安装mysql 报错The service already exists!

错误信息:

安装mysql数据库时出现了报错:The service already exists!

翻译过来的意思是:服务已经存在!

说明之前已经安装过没有删除干净。

图片[1]-安装mysql 报错The service already exists!-易站站长网

解决方法:

1.首先使用命令:

sc query mysql

先查看是否已经安装过。

图片[2]-安装mysql 报错The service already exists!-易站站长网

2.可以发现有安装过并且没有删除干净的mysql版本痕迹。

3.运行我们的删除数据库命令:

sc delete mysql

图片[3]-安装mysql 报错The service already exists!-易站站长网

出现成功就说明之前的数据库信息以及删除,接下来我们再输入安装命令

mysqld --install

提示:Service successfully installed.就说明已经正常安装成功mysql数据库了。

图片[4]-安装mysql 报错The service already exists!-易站站长网

THE END
喜欢就点个赞再走呗~
点赞0赞赏 分享
说点什么 抢沙发
头像
说点正能量的内容吧
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容