`
lusx
  • 浏览: 24113 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

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

解决:

开始第一行的密码不要写,应该是空的!然后输入新密码

1, 卸载MySQL
2, 删除目录 C:\Documents and Settings\All Users\Application Data\MySQL
3, 重新安装MySQL,如果不行,重启安装 就 OK 啦

=================================

其他Mysql安装错误 解决方法 参考
关键字: mysql
*****************************************************************************************
The security settings could not be applied to the database because the connection has failed with the following error.
Error Nr. 2003
Can't connect to MySQL server on 'localhost' (10061)
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.
*****************************************************************************************
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)则删掉,即可;
重启,将mysql的安装残余目录删掉 (查看服务,此时服务中已没有mysql);
重新安装mysql.安装后先不要运行Server Instance Configuration wizard,重启后在开始菜单中运行该向导,即可。
PS:一种值得参考的方法
---------------------------------------------
msyql安装到最后一步start service错误解决方法
1,到控制面板里面先把mysql删除.
2.到c盘C:\Program Files目录下把mysql目录删除.
3.如果在其他盘还有设置目录也要删除.空目录也要删除
4.到regedit把注册表
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL
有的话,全部删除!
(技巧:用F3循环查找“mysql”)
5.如果任务管理器里有关mysql内容也删除
6,把防火墙关了
7,重新装mysql(这里我没有重启计算机)
重装时候有必要的话,重启计算机,停用IIS,和删除temp里的临时文件.
实在不行的话,配置mysql时候,把mysql服务换个服务名.
******************************************************************************************
---------------------------
删除项时出错。
---------------------------
无法删除 LEGACY_MYSQL51: 删除项时出错。
---------------------------
确定
---------------------------
解决办法:注册表项里右键增加administrators所有权限
分享到:
评论

相关推荐

    MySQL无法安装的解决方案

    运行“MySQL Server Instance Config Wizard”时,总会出现“cannot create windows service for mysql error 0”的错误,试了好多次,再次删了MySQL,重启服务器,重新安装,都无济于事。手动启动“服务”里的MySQL...

    安装mysql报错1045

    mysql安装,出现1045错误,解决方法有两张如资源

    mysql安装教程(教你安装mysql数据库)

    设置完毕,按“Finish”结束mysql的安装与配置——这里有一个比较常见的错误,就是不能“Start service”,一般出现在以前有安装mysql的服务器上,解决的办法,先保证以前安装的mysql服务器彻底卸载掉了;...

    MySQL常见错误及解决方案

    MySQL常见错误及解决方案,适合新手

    安装Mysql时出现错误及解决办法

    因为一时手痒痒更新了一下驱动,结果导致无线网卡出了问题,本文给大家分享安装mysql时出现错误及解决办法,对安装mysql时出现错误相关知识感兴趣的朋友一起学习吧

    启动mysql出现2003错误的解决方案

    启动mysql出现2003错误的解决方案

    linux安装mysql(rpm脱网安装).zip

    错误解决: You must reset your password using ALTER USER statement before executing this statement. alter user user() identified by "123456"; Your password does not satisfy the current policy ...

    还原大备份mysql文件失败的解决方法分享

    用下面方法解决(管理mysql用的是navicat).,设置以下几个参数的值后就正常了,以下语句也可以在mysql的控制台上执行 . 代码如下: show variables like ‘%timeout%’; show variables like ‘%packet%’; set global ...

    Windows安装MySQL8.0.16 的步骤及出现错误问题解决方法

    现在的mysql8安装只能采用解压配置版,像以前老版本的傻瓜式安装将不复存在。其实mysql8了解如何安装之后也不是特别麻烦, 现罗列一下注意点: 1,mysql8 之后并不需要my.ini,会自动的生成data文件夹在解压之后的...

    mysql安装图解及重装mysql出现的问题解决

    安装mysql详细的图解和安装步骤,还有mysql的配置详解,还有重装mysql出现的各种问题的解决.第一次安装mysql比较容易,但是重装mysql就非常困难了,我研究了几天终于找到了解决办法

    MyEclipse连接MySQL数据库报错解决办法

    我们现在一般网站都是利用的MySQL数据库搭建网站的,但是在网上看到很多网友吐槽数据库连接不上的问题,现在我就结合相关资料向提出一些我个人的见解,希望对大家解决问题有帮助。 一般MySQL连接不上,可能有两大...

    mysql的常见错误解决

    mysql的常见错误解决:一.在进入mysql数据库时出错;二、在创建数据库时报错。

    mysql启动错误之mysql启动报1067错误解决方法

    解决方案: 1、在MY.INI文件中的 [mysqld] 中增加一行tmpdir=”D:/MySQL/... 您可能感兴趣的文章:mysql 启动错误1067 问题及解决方法mysql服务无法启动报错误1067解决方法(mysql启动错误1067 )MySQL启动错误解决方法

    mysql-installer-5.5.25.0 安装失败解决方案

    官网的mysql-installer 安装到最后进行安全验证的时候出错。本次上传的是经过验证后的解决方案。

    JSP向MYSQL插入单引号内容出错的解决方法.pdf

    JSP向MYSQL插入单引号内容出错的解决方法.pdf

    mysql连接错误解决

    安装MySQL后连接时出现Error1045 Access denied for user 'root'@'localhost' (using password:YES)

    Linux下安装Mysql8.0及相关错误的解决.docx

    内容概要:本资源通过实战环境,亲自按步骤详细描述了MySQL8如何在Linux下的安装,以及出现的相关问题的解决方案,由于Mysql8.0的特殊性,安装过程会比以往的早期版本更为复杂,比如你需要先卸载掉mariadb,然后你...

    mysql 提示INNODB错误的解决方法

    出现如下语句:The ‘InnoDB’ feature is disabled; you need MySQL built with ‘InnoDB’ to have it working;... 您可能感兴趣的文章:mysql服务无法启动报错误1067解决方法(mysql启动错误1067 )mysql启动的erro

    mysql数据库中1045错误的解决方法

    主要为大家详细介绍了MySQL数据库中1045错误的解决方法,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下

    MYSQL服务无法启动1067解决办法

    出现MYSQL服务无法启动报1067错误的解决办法

Global site tag (gtag.js) - Google Analytics