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.
850 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
389 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.