Wordpress on Azure App Service : Database Error - Error Establishing a database connection [Azure Marketplace deployment]

Swapnanil Ray 0 Reputation points
2024-06-09T08:17:56.8133333+00:00

Hi!

I have deployed a Wordpress site onto the Azure App Service using the Azure Marketplace plugin called Wordpress on App Service by Microsoft.

It deployed the following resources onto my resource group:

User's image

The problem is, although the web app is up and running, I am not able to access it since it shows Database Error - Error Establishing a database connection .

I tried going into /wp-admin and I see the following error:

User's image

I can confirm that I made no manual configurations at all. It is completely out of box from the marketplace template. What can I do to solve it?

Thanks!

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
757 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,276 questions
{count} votes