SQL错误(2003)无法连接到127.0.0.1(10061)上的mysql服务器 [英] SQL ERROR (2003) cannot connect to mysql server on 127.0.0.1 (10061)

查看:193
本文介绍了SQL错误(2003)无法连接到127.0.0.1(10061)上的mysql服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我在Windows 2003 Server上具有mysql server 5.5.
它以前运行良好.即使现在尝试从命令行连接它,然后它要求输入root密码并建立连接,但是如果我尝试从其编辑器"HEIDI"或我的.net应用程序连接它,则它会返回此错误
``SQL错误(2003)无法连接到127.0.0.1(10061)上的mysql服务器''
我相信没有在mysql中启用远程访问.
防火墙已经关闭.
有人可以紧急帮助我吗?
我已经重新安装了它,但没有用.
问候和问候

Dear All,
i have mysql server 5.5 on windows 2003 server.
it was working fine before.even now if try to connect it from it command line then it asks password for root and get connected but if i try to connect it from its editor ''HEIDI'' or from my .net application so it returns this error
''SQL ERROR (2003) cannot connect to mysql server on 127.0.0.1 (10061)''
What i beleive that remote access in not enabled in mysql.
Firewall is already off.
can any one help me urgently?
i already reinstalled it but no use.
thnaks and regards

推荐答案

请确保使用正确的连接字符串连接到数据库-请参见 ^ ]寻求帮助.
Make sure you are using the right connection strings to connect to the db - see here[^] for help.


在此处阅读原因&修复自己

无法连接到[本地] MySQL服务器 [ ^ ]
Read the reasons here & fix yourself

Can''t connect to [local] MySQL server[^]


这篇关于SQL错误(2003)无法连接到127.0.0.1(10061)上的mysql服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆