MySQL ConnectionError

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所有权限

转帖从 www.ttcodes.com.cn www.zstory.cn

connection error mysql_MySQL ConnectionError 安装错误 解决方法相关推荐

  1. ab压测 apr_socket_recv: Connection reset by peer (104)错误解决方法

    ab压测 apr_socket_recv: Connection reset by peer (104)错误解决方法 参考文章: (1)ab压测 apr_socket_recv: Connection ...

  2. pyinstall安装错误解决方法

    转载自https://blog.csdn.net/jiangjiangjiang6/article/details/105836332/ 错误提示: ERROR: Command errored ou ...

  3. php cannot find libz,brew安装php70出现configure: error: Cannot find libz 错误解决方法

    brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-home ...

  4. linux apr文件解压失败,Apache编译安装提示configure: error: APR not found错误解决方法...

    在配置Apache的时候,出现configure: error: APR not found错误 原因是缺少一些依赖包,安装这些依赖包就行了 下载依赖包,注意我这里下载的与参考链接上的有些不同,安装上 ...

  5. ruby环境sass编译中文出现Syntax error: Invalid GBK character错误解决方法

    sass文件编译时候使用ruby环境,无论是界面化的koala工具还是命令行模式的都无法通过,真是令人烦恼. 容易出现中文注释时候无法编译通过,或者出现乱码,找了几天的解决方法终于解决了. 这个问题的 ...

  6. Windows 10封装中出现“无法验证你的Windows安装”错误解决方法

    近期(当时写文章时在今年4月份)在测试在Windows Server 2016 的虚拟桌面,在测试Windows 7的虚拟桌面时一切良好,但在测试Windows 10的虚拟桌面时,在对Windows ...

  7. HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP错误解决方法

    在树莓派上运行在windows上正确的程序,  报错: HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP OpenCV Error: Assertion failed (s ...

  8. 天思软件启动提示:ERROR LOADING MIDAS.DLL错误解决方法。

    最近天思T8豪华版启动时提示:ERROR LOADING MIDAS.DLL错误,就是不让进系统.后来经过摸索和查网上资料解决问题,过程如下: 1.先看看天思软件所在目录\Redist是否存在mida ...

  9. android 模拟器read-only file system,WAC启动Android模拟器 transfer error: Read-only file system错误解决方法...

    这两天在用WAC SDK开发Widget时,在启动Android模拟器时Eclipse的Consle出现如下错误: [2011-11-27 22:08:49 - ddms]transfer error ...

最新文章

  1. HTTP中Get与Post的区别
  2. nginx自定义http头
  3. python百度百科api-python使用API
  4. 关于《计算机程序的构造和解释》
  5. cjuiautocomplete ajax,$ _GET( '术语' 在CJuiAutocomplete的Widget
  6. 找到bug的根源,问五次为什么
  7. 1 Selenium Python 基础
  8. ZZULIOJ 1106: 回文数(函数专题)
  9. MySQL删除重复数据保留1条
  10. 【Kafka】kafka消费组查看lag
  11. mysql账户最小授权_mysql 创建帐号并授权
  12. 面试题 16.18. 模式匹配
  13. 此声明没有存储类或类型说明符
  14. 插件开发之360 DroidPlugin源码分析(五)Service预注册占坑
  15. 【KE特效仿制】假面骑士 EX-AID NCOP+无彩限的怪灵世界 NCOP
  16. 极速pdf android,极速PDF阅读器 V3.0.0.2003 官方版[安卓软件]
  17. SEO的关键字分析的浅析
  18. 哈尔滨工业大学机器人智谷_信利康5G智慧园和哈工大 机器人智谷项目当天摘牌当天动工...
  19. SAP中文档管理用户需求与简要分析笔记
  20. 服务器指的是系统,服务器操作系统指的是什么

热门文章

  1. 对角矩阵(diagonal matrix)
  2. 机器学习基础(四十七)—— 统计
  3. C++基础——有关引用的问题
  4. idea怎么提交到dev分支_idea中新建git分支,并提交到远程github
  5. linux ubuntu 获取ip,linux系统(ubuntu)怎么查看ip地址
  6. python视频教程全集-Python 3视频教程全集(2018版)免费送啦
  7. python中文版软件下载-Python中文版下载_PyCharm官方最新版下载_3DM单机
  8. python表白代码-python浪漫表白源码
  9. 普通人学python有意义吗-普通人为什么要学习Python?
  10. python网课哪个好-python网课学习笔记--4