An Azure managed MySQL database service for app development and deployment.
Hi @Claudia Visca ,
Thank you for the detailed information.
The az_replication_* procedures are not the blocker. Those four mysql.-prefixed objects are built-in, Azure-managed stored procedures. The unexpected token 'REPLICATION' errors from Oracle's checker are expected false positives and can be safely ignored — they don't affect functionality, which is also why you correctly cannot modify them (ERROR 1044 is by design).
The real cause of VersionUpgradeFailed is usually a deprecated sql_mode value. Please do the following:
- Go to Server parameters in the Azure portal and remove these values from
sql_modeif present:NO_AUTO_CREATE_USER,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS(removed in MySQL 8.0). - Take an on-demand backup (the upgrade is irreversible).
- Check for pending XA transactions — run
XA RECOVER;and roll back any withXA ROLLBACK '{xid}';. - Retry from Overview → Upgrade, confirm target version 8.0, and select Upgrade.
If it still fails after clearing the deprecated sql_mode values, a support ticket is the right next step so the backend upgrade logs can be reviewed.
Reference links:
- https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-upgrade#perform-a-planned-major-version-upgrade-from-mysql-57-to-mysql-80-using-the-azure-portal-for-general-purpose-and-business-critical-sku-servers
- https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-upgrade#perform-a-planned-major-version-upgrade-from-mysql-57-to-mysql-80-using-the-azure-portal-for-burstable-sku-servers
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.