Clarification Needed: Are MySQL Major Version Upgrades on Azure Database for MySQL - Flexible Server Manual or Automatic

Priya Shanmugiah 0 Reputation points
2026-10-05T22:12:22.22+00:00

Hi Team,

I would like to confirm the process for major MySQL version upgrades on Azure Database for MySQL – Flexible Server. Specifically, I need clarification on whether major version upgrades (for example, from MySQL 8.0 to 8.4) are performed automatically by the platform or if they must be manually initiated

Our understanding is that these upgrades are manual and require customer action, especially due to application compatibility considerations (Drupal and WordPress dependencies on PHP/MySQL versions). However, we would like a confirmation

Could you please confirm whether:

  1. Major MySQL version upgrades are not automatic
  2. Customers must manually trigger the upgrade through Azure Portal, CLI, or API etc

Thanks

Azure Database for MySQL

Answer accepted by question author

AI answer

2026-10-05T22:12:34.6233333+00:00

Yes. Major MySQL version upgrades in Azure Database for MySQL Flexible Server are not automatic.

They must be customer-initiated.

Supported manual initiation methods in the documentation are:

  1. Azure portal
    • Open the Flexible Server resource.
    • On Overview, select Upgrade.
    • Run Validate before proceeding.
  2. Azure CLI
    • Use Azure CLI version 2.40.0 or later.
    • Run:
       az mysql flexible-server upgrade --name {your mysql server name} --resource-group {your resource group} --subscription {your subscription id} --version {target major version}
    
  3. REST API or SDK
    • Major version upgrade can be initiated this way, but the documentation states that other service property changes must not be included in the same request.

Additional confirmed points:

  • Major upgrades include examples such as 5.7 to 8.0 and 8.0 to 8.4.
  • The upgrade is irreversible.
  • Downtime duration varies based on database size and table count.
  • Validation and application compatibility testing are recommended before upgrading production, especially for workloads that depend on client/library compatibility.

This aligns with the understanding that major version upgrades require deliberate customer action because compatibility should be assessed before execution.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

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.