mysql卸载说明

来源:互联网 发布:金正大待遇怎么样知乎 编辑:程序博客网 时间:2024/06/05 16:05
安装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命令行:
[html]
Microsoft Windows [版本 6.1.7600] 
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 
C:\Users\Stone>sc delete mysql 
[SC] DeleteService 成功 
 
C:\Users\Stone> 

3/在C盘C:\Documents and Settings\All Users目录下有个隐藏文件Application Data 里面的mysql 删掉 重装ok。

之后就搞定了!
原创粉丝点击