作者:奔跑的人儿 | 来源:互联网 | 2014-06-09 00:50
安装MYSQL出错:awindowsservicewiththenameMYSQLalready...service解决今天把mysql5.1卸载了,想装个5.5,安装时提示:awindowsservicewiththenameMYSQLalreadyexists.Pleaseu...
安装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. www.2cto.com
可以尝试删除残留的注册表信息HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services下面找到MySQL注册表信息把它整个删掉后,重装mysql成功了!
过了这步到启动service时又提示:Cannot create windows service for mysql.error:0
WIN+R进入CMD命令行:
Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Stone>sc delete
mysql
[SC] DeleteService 成功
C:\Users\Stone>
之后就搞定了!