mysql 安装到最后一步时,start service
为失败状态 请问是什么原因
使用
services.msc 打开服务窗口,查看 MySQL service 是否已经存在。如已
经 存 在 并 已 启 动 , 则 先 停 止 该 服 务 , 然 后 到 注 冊 表
("HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Services") 中 刪
除对应服务,并使用命令
sc delete MySQL,然后继续进行安装,就能成功。
MYSQL 安装出现 could not start
the service mysql error:0
处理
当各位在安装、重装时出现
could not start the service mysql error:0 的
错误时,可以尝试下面两种方法。
一、方式
1
MySQL 安装是出现 could not start the service mysql error:0 提示错误,
解决方法:
首 先,在管理工具
->服务里面将 MySQL 的服务给停止,然后打开 cmd 进入
你的
MySQL bin
目录下,例如
C:\Program Files\MySQL\MySQL Server
5.0\bin 然后使用如下命令 mysqld-nt -remove 然后就会显示......success!
好了下面进入添加删除程序,找到
MySQL 选择卸载,记得选择 remove。最后
将
MySQL 目录删除,还有数据库的目录也删除。
一、方式
2
查看服务中有没有
mysql,如果有将该服务停掉;
安装
mysql 5.1.33,在运行 Server Instance Configuration wizard 时的
Execute configurattion 步骤中的第三项 Start Service 进出错,错误提示为
Could not start the service MySQL (出现这种情况一般是因为装过
mysql,卸载不干净造成的。卸载后重启后再重装。注意看下服务,如果未能卸
载,可以用
mysqld-nt -remove 卸载)。
在控制面板中运行添加删除程序,将
mysql 卸载;
卸载后打开注册表,查看
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 下的键值,
如果有相关
mysql 键值(mysql、mysqladmin)则删掉,即可;
重启,将
mysql
的安装残余目录删掉
(查看服务,此时服务中已没有 mysql);
重新安装
mysql.安装后先不要运行 Server Instance Configuration
wizard,重启后在开始菜单中运行该向导,即可。
windowsxp
系统
mysql-5.0.81
提示:
1045 access denied for user
'root'@'localhost'
using password
yes