dongyu4455 2015-10-08 18:56
浏览 175
已采纳

连接到Azure MySQL数据库

I'm trying out Azure for the first time. I followed this guide to create a web application with a MySQL database.

So the DB node was create and I can see it in my resources and I can view the credentials in the properties. However, I can't connect to it from my desktop.

It looks like a firewall issue as I'm unable to telnet to it:

telnet us-cdbr-azure-west-c.cloudapp.net 3306
Trying 104.209.43.4...
telnet: connect to address 104.209.43.4: Operation timed out
telnet: Unable to connect to remote host    

Can anyone tell me what I'm doing wrong?

Thanks in advance.

  • 写回答

1条回答 默认 最新

  • douren7921 2015-10-14 05:14
    关注

    Usually, this issue is raised due to IP or Port is blocked by firewall.

    As the comments show that others can connect to your MySQL server, so I think we can exclude that server side firewall blocked your IP and Port.

    If you are in a protect network environment, check whether the gateway of network has a white list and your MySQL server endpoint is in the list, or whether the gateway has block the 3306 port. You can change a network environment if possible to check this.

    Another attempt is that you can change a PC to have a test to connect to your MySQL server. If it could work, you can compare with the successful PC firewall configuration.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题