mysql以zip安装,解决the service already exists

时间:2022-05-22 22:49:11

mysql以zip安装,

mysqld -install

报错:​The service already exists

mysql以zip安装,解决the service already exists

原因是之前安装了以后卸载了,服务没删掉。

解决方法:​

sc query mysql,查看一下名为mysql的服务:

mysql以zip安装,解决the service already exists

如果有,则删除:

sc delete mysql

mysql以zip安装,解决the service already exists

然后再安装就能成功了。

mysql以zip安装,解决the service already exists