Keywords: WordPress - Microsoft Azure - Technical issue - OtherDescription: Hello,On Azure, our WordPress site produced - Error Establishing a database connection.
Any ideas how to avoid this. We believe this is caused by Azure instance maintenance.
Could you check your instance status in the Azure portal? Can you ssh into the instance? Could you check if restarting the application works:
Best regards,Michiel D'Hont
hi @michiel We have amulti-site version which seems that it doesn't have a ctlscript.sh. Instances are up. we resolved the issue by restarting all bitnami services. However, as this is most likely to occur again when Azure performs their maintenance, what it's the best practice here.
Please check the following guide that explains how to restart the services:
You can get the credentials of the database from the following file:
and test them with the following command:
mysql -u USER -p DATABASE_NAME
Please, click on if you think my answer was helpful
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.