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

Vahaj Ahmad 0 Reputation points
2023-06-04T16:02:17.96+00:00

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 34,676 Reputation points MVP Volunteer Moderator
    2023-06-04T17:49:46.2533333+00:00

    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.


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.