PDOException: SQLSTATE[HY000] [2002], How to Fix, SQL database is not showing

Vahaj Ahmad 0 Reputation points

We are facing this issue, PDOException: SQLSTATE[HY000] [2002], SQL database is not showing in the SQL databases, x it was available but y is not currently showing. Where the database disappeared. Our Website URL is https://bakersmart.ae and we are using Magento as CMS. Thanks in anticipation.

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 33,421 Reputation points MVP

    Your database may be experiencing a period of unavailability. For cloud applications it is essential that a retry logic is utilized in order to handle momentary/transient outages.

    Please examine Resource Health to get more information about what is happening or what happened to the database, and some status.

    If the issue persists, please do contact Azure customer support.