A windows service with the name MYSQL already exists

A windows service with the name MYSQL already exists

由于删除不干净

1、先卸载mysql

2、删除安装目录文件

3、删除注册表
win键+R(win10),regedit进入注册表

删除HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
删除HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL
删除HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL

4、重新安装MySQL即可

你可能感兴趣的:(JAVA)