We're pleased to announce General Availability of MySQL Server - Migrate User Accounts and Privileges in Azure Database Migration Service. With this new feature, businesses can now migrate a subset of the data in the ‘mysql’ system database from the source to the target for both offline and online migration scenarios. This feature currently supports Azure Database for MySQL – Single Server, on-premises servers, and instances with other cloud providers as the source types when running migrations.
To enable this feature, you must select the Migrate user accounts and privileges checkbox (shown in the following above), and then any corresponding databases that have related grants.
When enabled, this feature will migrate a subset of the tables in the ‘mysql’ system database depending on the version of your source. For all versions, the following tables will be migrated: user, db, tables_priv, columns_priv, and procs_priv. For 8.0 sources, the following tables are also migrated: role_edges, default_roles, and global_grants.
The progress and overall migration summary can be viewed on the Initial Load tab, as shown in the image below. On the migration summary blade, users can click into the ‘mysql’ system database to review the results of migrating server-level objects, like users and grants.
Database specific grants can be viewed by clicking into the other databases, as shown in the image below.
When using this feature, keep the following limitations in mind.
Note: For more information about unsupported/supported grants in Azure Database for MySQL - Flexible Server, see the article Limitations - Azure Database for MySQL - Flexible Server.
For step-by-step guidance about migrating external MySQL instances (on-premises or other cloud providers) to Azure for MySQL - Flexible Server, see Migrate from MySQL to Azure Database for MySQL - Flexible Server online using DMS via the Azure port....
For details about how to set up a custom role for migrations from MySQL to Azure Database for MySQL using DMS, see Custom roles for MySQL to Azure Database for MySQL migrations using Database Migration Service.
If you have any feedback or questions about the information provided above, please leave a comment below or email us at AskAzureDBforMySQL@service.microsoft.com. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.