Adding MySQL on Azure Flexible Server
Published 01 September 2025
Additional configuration required
Make sure you have prepared MySQL for monitoring before adding a MySQL instance to Redgate Monitor.
This page explains how to add an Azure Flexible Server for MySQL instance to Redgate Monitor. To monitor Azure Flexible metrics via the Azure API see enabling advanced monitoring for Azure Flexible server.
For details of the metrics and alerts available for Azure Flexible Server for MySQL, please see: PostgreSQL on Azure Flexible metrics and alerts.
- Go to Configuration → Monitored servers → Add → MySQL
- Select Azure Flexible Server as the environment
- In the Endpoint name field, enter the endpoint for the instance provided by Azure, this will typically end with ".*.mysql.database.azure.com". Please check the screenshot below to see where the endpoint name is (server name in this case)
- Enter the port in the Port field. 3306 is typically the default port for MySQL.
- For authentication, there are 3 options- Password: Enter the username and password. You should use the Monitor user you have created when following the Preparing PostgreSQL for monitoring guide.
- Entra Service Principal: Can be used with a Base Monitor hosted outside of Azure. Requires an App registration.
- Entra Managed Identity: Requires Base Monitor hosted in Azure.
 
- You can select a group where the instance will be added, select "Uncategorized" if you don't want to put it in any particular group.
- For capturing machine metrics for your Azure Flexible Server for MySQL instance, you must switch on "Enable advanced monitoring" and provide authentication method.- For information on how to set up advanced monitoring, see our dedicated documentation on enabling advanced monitoring for Azure Flexible server.
 
- For information on how to set up advanced monitoring, see our dedicated documentation on enabling advanced monitoring for Azure Flexible server.



