`
gstarwd
  • 浏览: 1512076 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

mysql-Could not start the service MySQL. Error:0

阅读更多

mysql-Could not start the service MySQL. Error:0

我们在安装mysql数据库时经常在最后一步出现这样的提示“could not start the service mysql error:0”,使我们前功尽弃,很是郁闷,下面我就结合自己的经验和网上的资料,图文并茂的讲解一下如何解决此类问题:

1、停止mysql服务。“windows图标+L”调出“运行”,输入“services.msc”,找到mysql并且把服务状态更改为“停止”,如下图

2.删除"mysqld-nt"。继续打开运行,输入“cmd”,然后到你的mysql 安装目录下的“bin”目录里,譬如“C:\Program Files\MySQL\MySQL Server 5.0\bin”,然后输入“mysqld-nt -remove ”,当其显示“.........success”就好了

3.卸载mysql。继续打开运行,输入“appwiz.cpl”,找到mysql,卸载。

4.删除mysql安装目录和数据库的目录 。继续打开运行,输入“cmd”,然后输入“rmdir /s /q C:\"Program Files"\MySQL”,删除mysql的安装目录;输入“rmdir /s /q d:\"MySQL Datafiles" ”,删除数据库的目录。

         经过以上四步,重新安装mysql就基本上没有问题了

分享到:
评论

相关推荐

    MYSQL安装出现could not start the service mysql error0处理

    在安装MySQL过程中,有时会遇到一个常见的错误提示:“Could not start the service MySQL Error 0”。这个错误意味着MySQL服务无法启动,通常与系统环境、配置文件、依赖库或安装过程中的某些问题有关。以下将详细...

    解决MySQL安装重装时出现could not start the service mysql error:0问题的方法

    关于MySQL安装或重装过程中遇到的“could not start the service mysql error:0”问题的解决方法,以下总结了一些重要的知识点,以帮助用户解决这一问题: 1. 故障原因分析: 在安装或重装MySQL时遇到“could not ...

    mysql_安装到最后一步时,start_service_为失败状态

    在安装 MySQL 时,可能还会出现其他错误,例如“could not start the service mysql error:0”的错误。这是由于 MySQL 服务没有正确启动,导致安装失败。解决方法是停止 MySQL 服务,删除注册表项,然后重新安装 ...

    mysql安装失败

    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) ...

    MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)

    Linux下安装初始化完MySQL数据库之后,使用mysqld_safe启动mysql数据库,如下发现,启动失败 [root@SVNServer bin]# ./mysqld_safe –user=mysql& 或 [root@SVNServer bin]# /etc/init.d/mysqld start Starting ...

    mysql安装到最后一步时,startservice为失败状态.pdf

    当MySQL安装程序提示“could not start the service mysql error:0”时,这通常意味着系统无法正常启动MySQL服务。造成这种现象的原因可能包括但不限于以下几个方面: 1. **残留的服务条目**:如果之前曾经安装过...

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

    出现"could not start the service mysql error:0"的错误,可能是由于之前的安装没有完全卸载导致的。处理这种问题的方法有两种: 1. 在服务管理中停止MySQL服务,进入MySQL的bin目录,例如"C:\Program Files\MySQL...

    mysql_安装失败问题汇总

    在安装MySQL时,可能会出现could not start the service mysql error:0错误,导致安装失败。这是因为MySQL服务没有正确启动,解决方法是停止MySQL服务,然后使用命令sc delete MySQL删除对应的服务,最后重新安装...

    MySQL 安装常见问题

    在尝试重新安装MySQL时,可能会遇到“Could not start the service MySQL. Error:0”的问题,这通常是由于旧版本的MySQL未被完全卸载导致的。为了彻底卸载MySQL,除了通过控制面板的“增加/删除程序”进行基本卸载外...

    MySQL 重装MySQL后, mysql服务无法启动

    您可能感兴趣的文章:Linux下卸载MySQL数据库MySQL数据库卸载的完整步骤解决MySQL安装重装时出现could not start the service mysql error:0问题的方法重装MySQL最后一步失败的完美解决方案(经验总结)MySQL的重装...

    MySQL下常见的启动失败与备份失败问题的解决教程

    接着尝试启动MySQL服务,但遇到了`PID file could not be found`的错误,这通常意味着MySQL找不到其进程ID(PID)文件,可能的原因是PID文件不存在或路径不正确。 为了解决这个问题,可以尝试手动创建PID文件,如`...

    mysql启动报错MySQL server PID file could not be found

    在使用MySQL数据库的过程中,有时会遇到“MySQL server PID file could not be found”的错误,这是一个常见的启动问题,通常意味着MySQL服务器无法找到其进程ID(PID)文件,该文件用于记录数据库服务的运行状态。...

    php.ini-development

    They can be turned off using the values 0, Off, False or No. ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; foo = ; sets foo...

    重装MySQL最后一步失败的完美解决方案(经验总结)

    安装的时候,有时候会出现could not start the service mysql error:0 提示错误。 解决步骤: 1、开始-MySQL-MySQL Server 5.1-MySQL Server Instance Config Wizard-Next-Remove Instance。 2、进入添加删除程序,...

    linux下安装apache

    重启 Apache 后,可能会弹出警告:AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.64. Set the 'ServerName' directive globally to suppress this ...

Global site tag (gtag.js) - Google Analytics