I have two Wordpress sites hosted on Azure and when I try to visit them through the browser I get the message: "Error establishing a database connection"
I used FileZilla to inspect the wp-config.php and checked all the fields for DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST. All the strings correspond correctly to what is shown through the Azure portal and on the ClearDB panel.
Another thing I tried was to add "define( 'WP_ALLOW_REPAIR', true );" to the bottom of wp-config.php and visit www.mywebsite.com/wp-admin/maint/repair.php, but this page does not come up.
In the Azure panels, everything appears to be running fine.
What can I do to fix this problem?