Home > Database > Mysql Tutorial > body text

安装MYSQL出错:a windows service with the name MYSQL already_MySQL

WBOY
Release: 2016-06-01 13:38:55
Original
2148 people have browsed it

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
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template