question

AaronAlthaus-0125 avatar image
0 Votes"
AaronAlthaus-0125 asked ·

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

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-webapps-authentication
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ajkuma-MSFT avatar image
0 Votes"
ajkuma-MSFT answered ·

@AaronAlthaus-0125, 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 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AaronAlthaus-0125, Adding more info:

For customizing the database, username and password, after you have created a new database, add new username or update password, review and modify

D:\home\data\mysql\MYSQLCONNSTR_localdb.ini , remove D:\home\data\mysql\MYSQLCONNSTR_localdb.txt and restart the WebApps.

Kindly check this document for more details.

Hope this helps! Kindly let us know if you need further help.

0 Votes 0 ·