mysql 安装到最后一步时,start service 为失败状态

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

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

MySQL 5.1 安装过程中报apply security setting错误的解决办法收藏

Mysql安装错误apply security settings 解决方法

The security settings could not be applied to the database because the connection has failed with the following error.

Error Nr. 1045

Access denied for user 'root'@'localhost' (using password: YES)

If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings.

If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to the server. In this case please select skip now and re-run the Configuration Wizard from the start menu.

MySQL 5.1 安装过程中报apply security setting错误的解决办法

1, 卸载MySQL

2, 删除目录 C:\Documents and Settings\All Users\Application Data\MySQL

3, 重新安装MySQL 就 OK 啦

------------------------------------------

[MySQL] Could not start the service MySQL 解决方法

安装mysql 5.1.33,在运行Server Instance Configuration wizard时的Execute configurattion步骤中的第三项Start Service进出错,错误提示为Could not start the service MySQL (出现这种情况一般是因为装过mysql,卸载不干净造成的。卸载后重启后再重装。注意看下服务,如果未能卸载,可以用mysqld-nt -remove卸载)。

具体方法如下:

查看服务中有没有mysql,如果有将该服务停掉;

在控制面板中运行添加删除程序,将mysql卸载;

卸载后打开注册表,查看

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 下的键值,如果有相关mysql键值(mysql、mysqladmin)则删掉,即可;

相关文档
最新文档