安裝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>
之後就搞定了!