Azure App Service Team Blog

How the App Service team functions

MySQL in-app feature for Web Apps on Linux

MySQL in-app for Linux Web App is not the same as MySQL in-app feature for Windows Azure Web App . For Linux web apps , we leverage the docker container to build MySQL as part of the image used to deploy in the Azure portal, for example WordPress on Linux.

These custom images are available on github. The image uses MariaDB 10.0+ server  with the default port 3306 and is installed ,  configured when the docker image runs on the Linux web app.

Get Database connection

You can get the database information from the Azure portal. Select your web app , then select Application Settings -> App settings. This will list out the database information needed for your web application.

Manage your Local database

You can  access and manage the database using PHPmyadmin that is enabled and configured as part of deployment of the docker image. To view PHPmyadmin tool ,use the URL in this format http://hostname/phpmyadmin and enter the credentials to connect.

You can find the credentials for PHPmyadmin in the Azure portal . Select your web app , then select Application Settings -> App settings