# MySQL 8.4.x on Azure

This article provides step-by-step instructions to create an **Azure Database for MySQL Flexible Server** with **VNet Integration and private access**. After completing the steps, you will have a fully provisioned and secure MySQL server in Azure, ready for application use.

### Prerequisites

* Access to the **Azure Portal**: [https://portal.azure.com](https://portal.azure.com?utm_source=chatgpt.com)
* Azure permissions to:
  * Create Resource Groups
  * Provision Azure Database for MySQL Flexible Server
  * Create Virtual Networks (VNets) and Private Endpoints

### Steps

* **Log in to Azure Portal**
  * Open the Azure portal and search for **Azure MySQL**.<br>

    <figure><img src="/files/qxM2yHoCdGj4VzUDqRak" alt=""><figcaption></figcaption></figure>
* **Create Flexible Server**
  * Click **Create** and select **Flexible Server**.

    <figure><img src="/files/c9uBxTliqwfUDr8UDFqX" alt=""><figcaption></figcaption></figure>

    <figure><img src="/files/EJRlwWR3wACD97PRxbbk" alt=""><figcaption></figcaption></figure>
* **Specify Server Details**
  * Resource group
  * Name
  * Region
  * Workload
* **Configure Authentication**
  * Select **MySQL Authentication**.
  * Enter a username and password.

    <figure><img src="/files/hB4fR8cmPnYKyte3Hbar" alt=""><figcaption></figcaption></figure>

    <figure><img src="/files/ThbOrYirl6cHQKWnPdpy" alt=""><figcaption></figcaption></figure>

    <br>

    <figure><img src="/files/rNaUGZfl34wHkA1aSdia" alt=""><figcaption></figcaption></figure>

    <figure><img src="/files/vWVoMW9ZxNi14rQ0UXgs" alt=""><figcaption></figcaption></figure>
* **Configure Connectivity**
  * Choose **Private access (VNet Integration)**.
  * If VNets exist under the selected resource group, they appear automatically.
  * If no VNets exist:
    * Click **Create VNet**.
    * Select **OK**.<br>

      <figure><img src="/files/QAYNTbs4SxCAGFMApXab" alt=""><figcaption></figcaption></figure>
* **Set Security and Tags**
  * Configure preferred security settings under the **Security** blade.
  * Add the required tags.
* **Review and Create**
  * Click **Review + Create** to validate the configuration.
  * Click **Create** to start provisioning the server.
  * Wait a few minutes for the deployment to complete.
* **Capture Connection Details**
  * After creation, record the following for later use:
    * MySQL endpoint (private endpoint if configured)
    * Username
    * Password

***

Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ovaledge.com/release8.1/deployment-and-maintenance/installation/mysql-8.4.x-on-azure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
