当前位置:Gxlcms > mysql > 安装MYSQL出错:awindowsservicewiththenameMYSQLalready_MySQL

安装MYSQL出错:awindowsservicewiththenameMYSQLalready_MySQL

时间:2021-07-01 10:21:17 帮助过:34人阅读

bitsCN.com


安装MYSQL出错:a windows service with the name MYSQL already...service解决

今天把mysql5.1卸载了,想装个5.5,安装时提示:a windows service with the name MYSQL already exists.Please uninstall this service correctly or choose a different name for the new service.

可以尝试删除残留的注册表信息HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services下面找到MySQL注册表信息把它整个删掉后,重装mysql成功了!

过了这步到启动service时又提示:Cannot create windows service for mysql.error:0

WIN+R进入CMD命令行:

[html]

Microsoft Windows [版本 6.1.7600]

版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:/Users/Stone>sc delete mysql

[SC] DeleteService 成功

C:/Users/Stone>

之后就搞定了!

bitsCN.com

人气教程排行