如果以前安装过mysql,卸载重装,很可能会碰到”A Windows service with the name MySQL already exists.“这样的提示。即服务已经存在。
我们可以在window任务管理器----服务中查看,发现确实存在,没有卸载干净。
解决这个问题,可以在dos窗口,使用如下命令:
复制代码 代码如下:
sc delete mysql
如果成功,出现如下结果:
[SC] DeleteService SUCCESS
之后,重启电脑。如果再在任务管理器----服务中查看,会发现mysq服务没有了。
以上所述是小编给大家介绍的安装mysql出错”A Windows service with the name MySQL already exists.“的解决办法,希望能够帮助到大家,如果大家还有疑问欢迎给我留言,小编会及时回复大家的,同时也非常感谢大家对查字典教程网的支持!
【安装mysql出错”A Windows service with the name MySQL already exists.“如何解决】相关文章:
★ Lost connection to MySQL server during query的解决
★ MySQL 联合索引与Where子句的优化 提高数据库运行效率
★ MySQL: mysql is not running but lock exists 的解决方法
★ mysql "too many connections" 错误 之 mysql解决方法
★ Mysql Error Code : 1436 Thread stack overrun
★ Win2003服务器安装及设置教程 MySQL安全设置图文教程