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 Server Instance Config Wizard”时,总会出现“cannot create windows service for mysql error 0”的错误,试了好多次,再次删了MySQL,重启服务器,重新安装,都无济于事。手动启动“服务”里的MySQL...
mysql安装,出现1045错误,解决方法有两张如资源
设置完毕,按“Finish”结束mysql的安装与配置——这里有一个比较常见的错误,就是不能“Start service”,一般出现在以前有安装mysql的服务器上,解决的办法,先保证以前安装的mysql服务器彻底卸载掉了;...
MySQL常见错误及解决方案,适合新手
因为一时手痒痒更新了一下驱动,结果导致无线网卡出了问题,本文给大家分享安装mysql时出现错误及解决办法,对安装mysql时出现错误相关知识感兴趣的朋友一起学习吧
启动mysql出现2003错误的解决方案
错误解决: 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用的是navicat).,设置以下几个参数的值后就正常了,以下语句也可以在mysql的控制台上执行 . 代码如下: show variables like ‘%timeout%’; show variables like ‘%packet%’; set global ...
现在的mysql8安装只能采用解压配置版,像以前老版本的傻瓜式安装将不复存在。其实mysql8了解如何安装之后也不是特别麻烦, 现罗列一下注意点: 1,mysql8 之后并不需要my.ini,会自动的生成data文件夹在解压之后的...
安装mysql详细的图解和安装步骤,还有mysql的配置详解,还有重装mysql出现的各种问题的解决.第一次安装mysql比较容易,但是重装mysql就非常困难了,我研究了几天终于找到了解决办法
我们现在一般网站都是利用的MySQL数据库搭建网站的,但是在网上看到很多网友吐槽数据库连接不上的问题,现在我就结合相关资料向提出一些我个人的见解,希望对大家解决问题有帮助。 一般MySQL连接不上,可能有两大...
mysql的常见错误解决:一.在进入mysql数据库时出错;二、在创建数据库时报错。
解决方案: 1、在MY.INI文件中的 [mysqld] 中增加一行tmpdir=”D:/MySQL/... 您可能感兴趣的文章:mysql 启动错误1067 问题及解决方法mysql服务无法启动报错误1067解决方法(mysql启动错误1067 )MySQL启动错误解决方法
官网的mysql-installer 安装到最后进行安全验证的时候出错。本次上传的是经过验证后的解决方案。
JSP向MYSQL插入单引号内容出错的解决方法.pdf
安装MySQL后连接时出现Error1045 Access denied for user 'root'@'localhost' (using password:YES)
内容概要:本资源通过实战环境,亲自按步骤详细描述了MySQL8如何在Linux下的安装,以及出现的相关问题的解决方案,由于Mysql8.0的特殊性,安装过程会比以往的早期版本更为复杂,比如你需要先卸载掉mariadb,然后你...
出现如下语句:The ‘InnoDB’ feature is disabled; you need MySQL built with ‘InnoDB’ to have it working;... 您可能感兴趣的文章:mysql服务无法启动报错误1067解决方法(mysql启动错误1067 )mysql启动的erro
主要为大家详细介绍了MySQL数据库中1045错误的解决方法,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
出现MYSQL服务无法启动报1067错误的解决办法