Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 2.04 KB

how-to-migrate-online.md

File metadata and controls

29 lines (20 loc) · 2.04 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic
Minimal-downtime migration
This article describes how to perform a minimal-downtime migration of a MySQL database to Azure Database for MySQL - Flexible Server.
SudheeshGH
sunaray
maghan
06/18/2024
mysql
flexible-server
how-to

Minimal-downtime migration to Azure Database for MySQL - Flexible Server

[!INCLUDEapplies-to-mysql-single-flexible-server]

[!INCLUDEazure-database-for-mysql-single-server-deprecation]

You can perform MySQL migrations to Azure Database for MySQL flexible server with minimal downtime by using Data-in replication, which limits the amount of downtime that is incurred by the application.

You can also refer to Database Migration Guide for detailed information and use cases about migrating databases to Azure Database for MySQL flexible server. This guide provides guidance that will lead the successful planning and execution of a MySQL migration to Azure.

Overview

Using Data-in replication, you can configure the source as your primary and the target as your replica, so that there's continuous synching of any new transactions to Azure while the application remains running. After the data catches up on the target Azure side, you stop the application for a brief moment (minimum downtime), wait for the last batch of data (from the time you stop the application until the application is effectively unavailable to take any new traffic) to catch up in the target, and then update your connection string to point to Azure. When you're finished, your application will be live on Azure!

Next steps

  • For more information about migrating databases to Azure Database for MySQL flexible server, see the Database Migration Guide.