Tag Archives: database

Database connection error using MySql in Azure App Service

Well, if you’ve gone full speed ahead using the preview of MySql in Azure App Service you’ve noticed that it doesn’t work. WordPress gives you the “Error connecting to database” error.

To fix it you’ll need to add some application settings on your application.

Key: WEBSITE_MYSQL_ARGUMENTS
Value: –default_password_lifetime=0

Click “Save” and you’re all done.

website_password