Quantcast
Channel: SSMA for MySQL 5.0 – SQLXpertise
Viewing all articles
Browse latest Browse all 12

Migrating MySQL Databases to SQL Azure using SSMA–Part 3

$
0
0

In the previous posts, we saw how to download and install SQL Server Migration Assistant for MySQL v5.0 and configure utility database, and how to create a new migration project, add MySQL databases and SQL Server databases for conversion, analyze and prepare migration report.

In this post we will how to synchronize the MySQL schema to SQL Azure database and then migrate data

To convert the MySQL schema to SQL Azure schema, select the source database “ClassicModels” in MySQL Metadata Explorer and the right click and click on “Convert Schema”

image

Once the schema is converted, we will get the messages in output window similar to this (Messages will vary based on your database), if the message returns any error we need to fix it before migration

image

Once the schema conversion is complete, to migrate the schema, Right click on Target database in SQL Azure Metadata explorer and click on “Synchronize with Database”

image

Specify the password for the target server and click “Connect”

image

The schema migration preview window will display the list of objects being migrated, Click “Ok” to proceed

image

Migration process will be displayed in Output window, Once complete the output window will display the below message

image

Now we have successfully migrated the schema, To migrate the data, right click on Source Database and click “Migrate Data”

image

Specify the MySQL Server credentials and click “Connect”

image

Specify SQL Azure Target server credentials and click “Connect” to proceed

image

The data migrations process will prepare the data and start uploading the data to SQL Azure, the process details will be displayed in output window and the following message and below Data Migration Report will be displayed once the data migration completes successfully.

image

image

You can save the Data Migration report as CSV file for your reference.

You can connect to SQL Azure server using Project Houston or SQL Server Management Studio and query the data

image

Now we have successfully migrated the database schema and data from MySQL database to SQL Azure

Hope you all find this information useful !!!


Filed under: SQL Azure, SQL Azure Migration Tagged: MySQL Migration, MySQL to SQL Azure Migration, SQL Azure, SQL Azure Migration, SSMA for MySQL 5.0

Viewing all articles
Browse latest Browse all 12

Latest Images

Trending Articles





Latest Images