尝试连接到cleardb的错误 [英] error trying to connect to cleardb

查看:159
本文介绍了尝试连接到cleardb的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想连接到heroku中的cleardb实例,我从 CLEAR_DATABASE_URL 中的heroku配置变量中获取主机名和凭据,但出现以下错误:


ERROR 2003(HY000):无法连接到'us-cdbr-east-06.cleardb.net'上的MySQL服务器(111)


即时通讯以这种方式连接


mysql -u用户名-p - h us-cdbr-east-06.cleardb.net

任何想法为什么我得到111错误?



感谢您的时间

解决方案

谢谢cleardb支持团队的帮助,回答


您好,



感谢您的支持。您可能需要检查您的本地网络
管理员和/或ISP,以确保您可以访问运行在TCP 3306上的
远程资源。可能此端口
已经被本地网络和/或机器阻止。要清楚的是,
我们对这个数据库进行了一次连接测试,发现它正常运行
,所以下一个诊断步骤是检查你的本地
与远程MySQL数据库的连接。



希望这会有帮助,

会员团队


Hi again i want to connect to cleardb instance in heroku i take hostname and credentials from heroku config vars in CLEAR_DATABASE_URL but i am getting the following error

ERROR 2003 (HY000): Can't connect to MySQL server on 'us-cdbr-east-06.cleardb.net' (111)

im trying to connect in this way

mysql -u username -p -h us-cdbr-east-06.cleardb.net

any idea why i am getting 111 error?

thanks for your time

解决方案

Error fixed thanks the help from cleardb support team, here support answer

Hi there,

Thanks for reaching out. You may want to check with your local network administrator and/or ISP to ensure that you are allowed to access remote resources that run on TCP 3306. It is possible that this port has been blocked from your local network and/or machine. To be clear, we performed a connection test on this database and found that it is operating normally, so the next diagnostic step is to check your local connectivity to remote MySQL databases.

Hope this helps,

member team

这篇关于尝试连接到cleardb的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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