Can't access Wordpress.org site deployed via Azure Web App Service

Aaron Althaus 1 Reputation point
2021-02-25T23:13:29.967+00:00

Hi - a former employee setup a wordpress.org site deployed via Azure Web App and I don't have PHP login credentials. And it won't let me reset the password because SMTP service isn't setup. Is there a way to reset it via the command console on the App in Azure? Any help would be greatly appreciated. Thanks!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,866 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 22,401 Reputation points Microsoft Employee
    2021-02-26T20:56:52.843+00:00

    @Aaron Althaus , Thanks for the question.

    Just to confirm, I believe you have the admin or co-admin access on the Azure subscription? If it's MySql in-app, phpMyAdmin is enabled by default with the feature. You can access it through https://<sitename>.scm.azurewebsites.net/phpMyAdmin/.

    Since MySql is only started with the main site, do make sure that the main site is running (simplest way is to turn on AlwaysOn) before using phpMyAdmin. Unlike phpMyAdmin from SiteExtenions gallery, this phpMyAdmin is aware of MySql credentials and will connect automatically.

    Also, the connection string is stored at 'D:\home\data\mysql\MYSQLCONNSTR_localdb.txt'. Your WordPress app reads from this file for what database, username and password to use.

    1 person found this answer helpful.