matthew
matthew

Reputation: 21

Azure MySQL Connection Security for webapp's IP

I have a PHP webapp setup on Azure and it consistently changes its IP, therefore the connection to MySQL (also on Azure) states it is not allowed to connect. Once I add in the IP to the Connection Security tab on MySQL, it connects fine. How do I setup the MySQL connections to allow all IPs? Or is that a security risk? If so, how do I fix this?

Upvotes: 0

Views: 67

Answers (1)

Chun Liu
Chun Liu

Reputation: 943

You can enable "Allow access to Azure services" option for your Azure Database for MySQL as shown in the picture below. For details, see here.

enter image description here

Upvotes: 1

Related Questions