Troubleshooting DB Error in WordPress on Azure with Kudu

Recently, my blog had some unexpected downtime. I’m still unsure of why this error occurred, however, I find it worth sharing on how I was able to bring it back online. The error received looked like ‘Error establishing a database connection’.

image

Figure: 1

Initially, I thought this has something to do with the database, or with the database connection string. But, this case was different, still unknown but glad I have it settled now.

Continue reading