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.

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题