ITeye博客

删除了mysql的服务

wnick · 2008-10-16 22:58 · 学习 · 非技术 · Markdown

重装系统后烦人的事真多 装一个mysql都问题多多 我记得我先用一个绿色的mysql安装出了点点问题就没有使用了

今天安装官方的下载版 居然不能启动服务 一看服务里已经有一个mysql了 弄了N就才找到办法 连注册表都删了还是不行 网上有人说用这个工具AppToService 我试了不行

最后在这里找到解决办法 http://www.linuxdiyf.com/viewarticle.php?id=78233

1、首先停止旧版本的mysql服务。(停止后仍无法启动)

2、从命名mysql5.0的windows服务名为 mysql5.0。(还是没有办法启动)

3、删除原来的旧版本的mysql服务名。可以通过如下命令删除:

C:>sc delete mysql [sc] DeleteService SUCCESS

这样就ok了

评论(1)

  1. #1 楼 · phoenix007 · 2008-10-28 07:54

    mysqld Ver 5.0.15 for Win32 on ia32 (Official MySQL binary) Copyright (C) 2000 MySQL AB, by Monty and others This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license

    Starts the MySQL database server

    Usage: mysqld NT and Win32 specific options: --install Install the default service (NT) --install-manual Install the default service started manually (NT) --install service_name Install an optional service (NT) --install-manual service_name Install an optional service started manually (NT) --remove Remove the default service from the service list (NT) --remove service_name Remove the service_name from the service list (NT) --enable-named-pipe Only to be used for the default server (NT) --standalone Dummy option to start as a standalone server (NT)

评论功能维护中,当前仅展示历史评论。