Azure mysql内网,适用于MySQL的Azure数据库

Hi,

I create a MySQL environment (server) with Azure Database for MySQL.

I try to connect to the server with MySQL Workbench on my local computer and i get this error : "lost connection to MySQL server at reading final connect information" system error 2. I can't connect to the database.

One more problem, i have Web App service, which must use the MySQL server, and i can't link two servers.

I change connexion security rules on my MySQL service, but nothing:

- Allow Azure services : yes

- Rules : Allowall with 0.0.0.0 and 255.255.255.255

- SSL : false

Thanks for your help.

解决方案Hi Lorenzon,

Can you please ensure SSL is enabled, and try this again. The firewall rule is okay but should be narrowed down to a specific IP range or specific list of IP addresses. The `Allow Azure services` is for other Azure services to connect without setting additional

firewall rules, such as the Web App service.

In this specific case MySQL Workbench is closing down the connection because there is no SSL present. Please ensure that the simplest of SSL options is enabled.

8c17f3de9c2fc67c150f085556b7ae03.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值