报错原因:重装mysql,报错误信息:
1.The service already exists!
2.The current server installed: H:\MySql\bin\mysqld.exe MySQL
错误排查:删除mysql,没有删除干净
解决方案:操作如下
1.sc query mysql
2.sc delete mysql
注意:一定是管理员身份运行哦,不然会报这样的错误:
OpenService 失败 5: 拒绝访问
解决方法:cmd 以管理员身份运行