安装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>
之后就搞定了!
转载于:https://blog.51cto.com/ieayoio/1662483