论坛首页 入门技术论坛

删除了mysql的服务

浏览 2256 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-10-16  
重装系统后烦人的事真多
装一个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了
   发表时间:2008-10-28  
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 [OPTIONS]
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)
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics