The service already exists! The current server installed: D:mysqlmysql-5.7.30-winx64inmysqld My(代码片

Posted 闲言_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The service already exists! The current server installed: D:mysqlmysql-5.7.30-winx64inmysqld My(代码片相关的知识,希望对你有一定的参考价值。

错误产生环境

  windows10下安装mysql 时产生


错误描述

The service already exists!
The current server installed: D:\\mysql\\mysql-5.7.30-winx64\\bin\\mysqld MySQL


错误原因

  这是由于之前已经安装过mysql并且没有删除干净


解决办法

  1.以管理员身份运行,输入sc query mysql,查看一下名为mysql的服务:


发现之前确实有安装过。


  2.命令sc delete mysql,删除该mysql


  3.继续安装 ![在这里插入图片描述](https://img-blog.csdnimg.cn/463e8c8ba6874f61b13a7175fd090379.png) 安装成功!

以上是关于The service already exists! The current server installed: D:mysqlmysql-5.7.30-winx64inmysqld My(代码片的主要内容,如果未能解决你的问题,请参考以下文章

执行 mysqld --install 报错:The service already exists

安装MYSQL8.0出现的The service already exists!The current server installed:

The service already exists! The current server installed: D:mysqlmysql-5.7.30-winx64inmysqld My

解决安装mysql的”A Windows service with the name MySQL already exists.“问题

The service already exists! The current server installed: D:mysqlmysql-5.7.30-winx64inmysqld My(代码片

The servlet name already exists.解决方法