Azure Database for MySQL (Flexible server): "temporary failure in name resolution"

Gianluca Gippetto 41 Reputation points
2024-06-03T15:57:13.29+00:00

We connect to an instance of Azure MySQL (with HA enabled) from an AKS cluster. No custom DNS. Recently we've been frequently getting the following.

(pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'our-db-name.mysql.database.azure.com' ([Errno -3] Temporary failure in name resolution)")

Any idea?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
739 questions
{count} votes