The Migration Wizard performs the following steps when migrating a database to MySQL:
Connects to the source RDBMS and retrieves a list of available databases/schemas.
Reverse engineers selected database/schemas into a internal representation specific to the source RDBMS. This step will also perform the renaming of objects/schemas depending on the type of object name mapping method that is chosen.
-
Automatically migrates the source RDBMS objects into MySQL specific objects.
Target schema objects are created.
-
Target table objects are created.
-
Columns for each table are copied.
Data types are mapped to MySQL data types.
Default values are mapped to a MySQL supported default value, if possible.
Indexes are converted.
Primary Keys are converted.
Triggers are copied, and commented out if the source is not MySQL.
-
Foreign Keys for all tables (of all schemas) are converted.
View objects are copied, and commented out if the source is not MySQL.
Stored Procedure and Function objects are copied, and commented out if the source is not MySQL.
Provides an opportunity to review the changes, for editing and correcting errors in the migrated objects.
Creates the migrated objects in the target MySQL server. If there are errors, you can return to the previous step and correct them, and retry the target creation.
Copy data of the migrated tables from the source RDBMS to MySQL.
MySQL Workbench provides support for migrating from some specific RDBMS products. The Migration Wizard will provide the best results when migrating from such products. However, in some cases, other unsupported database products can also be migrated by using its Generic database support, as long as you have an ODBC driver for it. In this case, the migration will be less automatic, but should still work nonetheless.