mysql Error Nr. 2003报错的解决方案 难道ipv6不能和mysql共存
http://blog.csdn.net/hugeheadhuge/article/details/6300187
今天很怨念,为什么ipv6和mysql不能共存,这让限流量的可怜巴巴的我怎么活啊~~~
报错信息:
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.
解决办法:
推荐大家使用
手动搭建WAMP环境 php5 mysql5 apache2 for windows xp
这篇文章中的方法。
最近重新装了一次,发现只要安装前在cmd中运行 ipv6 uninstall, 安装后在cmd中运行 ipv6 install 就可以避免上述问题了。
删除Tcp/ip协议中的IPv6,Ping localhost回归正常,重新配置MySQL Instance成功。
ps:卸载mysql 或其它数据库安装程序时,最好手动停止服务,并重启后安装。。。
原因 估计是mysql不能正确解析ipv6格式的地址,据说下一个补丁可以实现
发现只要安装前在cmd中运行 ipv6 uninstall, 安装后在cmd中运行 ipv6 install 就可以避免上述问题了。
分享到:
相关推荐
MacOS安装MySql8.0.19及安装报错解决方案.docx
安装高版本mysql、解决error 2003、error nr.1364 安装高版本mysql、解决error 2003、error nr.1364
mysql配置时提示error nr.2003 can't connect to mysql server on 'localhost'(10061).doc
解决 安装mysql5.7.21 由于找不到msvcp120.dll,无法继续执行代码,重新安装程序可能会解决问题
MySQL数据库安装常见报错解决方案汇总.docx
Sqlguar的源码中对MySql.Data.dll 做了强引用,版本必须为6.2.1.0,否则会...NuGet中的是最新的,所以基本上不能用,会报错: 需要引用MySql.Data.dll,请在Nuget安装最新稳定版本,如果有版本兼容问题请先删除原有引用;
C#连接MySQL需要的MySql.Data.dll,MySql.Web.dll,MySql.Data.dll,MySql.Web.dll是C#操作MySQL的驱动文件,是C#连接MySQL必要插件。
3、Can’t connect to local MySQL server through socket ‘/Data/mydata/mysql.sock’ socket文件目录不对应导致的问题 4、今天要说的就是 没有打开only_full_group_by Cause:...
将项目的目标框架改为.NET Framework 4 再进行编译就会报错,提示“ 未能解析主引用“MySql.Data, Version=...... 该程序集是针对 .NETFramework,Version=v4.5.2 框架生成的......该框架版本高于当前目标框架 ....
数据库表A: CREATE TABLE task_desc_tab ( id INT(11) PRIMARY KEY NOT NULL COMMENT '自增主键' AUTO_INCREMENT, <strong>taskname</strong> VARCHAR(200) NOT NULL COMMENT '任务名字', sqlname VARCHAR(20) ...
解决mysql 5.7.x 安装报错 This application requires Visual Studio 2013 Redistributable 将压缩包解压,先安装vcredist_x64后尝试重新安装mysql 5.7.x ,假如依然报错,然后安装vcredist_x86后再次安装mysql 问题...
用于mysql8.0版本的MySql.Data.dll类库,直接引用使用
C#连接mysql、Mysql.data.dll 5.0.8.1、Mysql.data.dll 6.2.1.0 C#连接mysql的dll
MySql.Data.dll 8.0.30最新版
主要为大家详细介绍了解决mysql安装时出现error Nr.1045问题的方法,感兴趣的小伙伴们可以参考一下
Error installing ODBC driver MySQL ODBC5.3 ANSI Driver,ODBC error 13:无法加载 MySQL ODBC5.3 ANSI Driver ODBC驱动程序的安装例程, 因为存在系统错误代码 127:找不到相应myodbc5s.dll。 解决方案:Visual ...
Can't create/write to file 'C:WINDOWSTEMP...MYSQL报错解决方法,参考下面的方法即可。
关于mysql数据库导入备份数据报错问题.docx
.net访问mysql数据库必须的文件MySql.Data.dll (2019-03最新版 v8.0.15.0) ; MySQL Connector/NET 连接器。
com.mysql.jdbc.Driver驱动包