Where do I get the database name, username and password on my web app

Jamie Soon 145 Reputation points
2025-04-12T13:47:40.8133333+00:00

Hi,

I would like to install the CMS, Expression Engine on my web app. But first I'm going to run EE wizard to test the server. I'm not sure what details to key in as my database name, username and password. Where do I get this information? Thank you.

I found some mysql database information under environment variables>connection strings, but I'm getting an error when I run the Expression Engine Test.

https://jamiesoonwebsite-afc4a4bhh0fyf2c8.eastasia-01.azurewebsites.net/ee_wizard/

regards

Jamie

image001

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

Answer accepted by question author
  1. Vinodh247 40,036 Reputation points MVP Volunteer Moderator
    2025-04-12T16:28:33.2133333+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    To run the ExpressionEngine wizard on your Azure Web App, you need valid MySQL connection details: database name, username, password, and the correct server address. Based on your message and the screenshot, here is what you should check and where to get the required information.


    Step by step guide to get MySQL connection details in Azure Web App:

    1. Go to Azure Portal

    Open your Web App in the Azure portal.

    1. Navigate to Configuration

    Under the Settings section, go to Configuration.

    Check the Application settings and Connection strings tabs.

    1. Find the MySQL connection string

    Look for a connection string with something like:

    Database=jamiesoonwebsite-database;Data Source=mydb.mysql.database.azure.com;User Id=myuser@mydb;Password=yourpassword;

    • Database name: jamiesoonwebsite-database
    • Server address: mydb.mysql.database.azure.com
    • Username: myuser@mydb
    • Password: as provided in the string

    Make sure you do not use localhost as the server address. Azure does not run MySQL locally in the Web App, it connects to an external MySQL service (azure database for MySQL).

    1. Enter these values in the EE Wizard

    Use these in the ExpressionEngine wizard:

    • Server address: use the Data Source value (e.g., mydb.mysql.database.azure.com)
    • Name: use the Database value
    • Username: use the User Id
    • Password: from the connection string

    Common error reasons:

    Using localhost instead of the Azure MySQL server address.

    Typo in username or password.

    • Database not yet created (ExpressionEngine does not auto create it).

    Tip:

    If you are using Azure Database for MySQL, make sure:

    The firewall rules allow access from Azure services or your Web App.

    • SSL settings match what the CMS expects (some CMS setups require SSL to be turned off for testing).

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.