question

Barkz-1936 avatar image
0 Votes"
Barkz-1936 asked Barkz-1936 answered

Azure app (WordPress) not connecting to ClearDB host

Getting "Error establishing database connection" on my Azure site (WordPress) to the ClearDB host. I have validated the following:

  • Via the Azure portal, checked the web app Configuration Connection Settings and all are the same as ClearDB settings.

  • Checked wp-config.php via Debug Console of the web app; all settings are the same as ClearDB settings.

  • Tried regenerating my password on ClearDB side, updated all Connection Settings and wp-config.php file. Still cannot connect.

Site is https://purepowershellguy.com. This issue obviously applies to both main site and wp-admin access.

I have worked with AzureSupport via twitter and cannot resolve the issue.

Any and all help appreciated. -- Thanks, Barkz




azure-webapps
· 1
5 |1600 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.

Thanks for asking question! Could you please elaborate on what steps you are following while creating connection & error you received to help you better on this.

You may refer to article might be helpful WordPress Troubleshooting Techniques on Azure Websites

Try installing phpMyAdmin site extension to see if your site can connect to MySql server.

Also, double check for payment issues with ClearDB.

More details : https://docs.microsoft.com/en-us/azure/store-cleardb-faq


0 Votes 0 ·

1 Answer

Barkz-1936 avatar image
0 Votes"
Barkz-1936 answered

This turned out to be a ClearDB DNS issue for West and East Azure Regions. Issue resolved.

5 |1600 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.