卸载MySQL服务(The service already exists)

时间:2024-03-24 10:16:26

卸载MySQL服务(The service already exists)

我们在重新安装MySQL时有时会遇到"The service already exists"的报错问题,原因就是电脑上的MySQL未卸载干净,其中就包括MySQL服务待删除,本文介绍如何卸载MySQL服务

1.以管理员身份打开命令提示符

卸载MySQL服务(The service already exists)

2.键入指令"sc delete + mysql服务名"

如:sc delete mysql,若成功,则出现 [SC] DeleteService 成功
卸载MySQL服务(The service already exists)
:mysql服务名以具体为准,可通过快捷键win + s或鼠标点击电脑下方的放大镜图标调出快速搜索,键入关键字“服务”,进入系统服务列表,找到mysql服务,名称列下的"MySQL"就是服务名
卸载MySQL服务(The service already exists)
卸载MySQL服务(The service already exists)