MYSQL安装出现问题(The service already exists)(MYSQL卸载极速解决)

1.Zip解压后管理员身份运行cmd(系统win10)
MYSQL安装出现问题(The service already exists)(MYSQL卸载极速解决)

2.输入命令cd /d F:\mysql-5.7.19-win32\bin(此为解压目录

3.输入安装命令mysqld install
出现问题The service already exists
这是由于之前已经安装过mysql并且没有删除干净

4.重新以管理员身份运行,输入sc query mysql,查看一下名为mysql的服务:
MYSQL安装出现问题(The service already exists)(MYSQL卸载极速解决)
发现之前确实有安装过。

5.命令sc delete mysql,删除该mysql
MYSQL安装出现问题(The service already exists)(MYSQL卸载极速解决)

6.之后继续安装,就能成功

MYSQL安装出现问题(The service already exists)(MYSQL卸载极速解决)

上一篇:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized错误提示


下一篇:启动服务出现Web server failed to start. Port 8001 was already in use.