Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Currently our application is running using Oracle 11g database. We are developing newer version of the application which runs on MySQL cluster. We need to migrate the data from Oracle database to MySQL database. This is not a direct copy of database objects. In newer version of the application schema(table structure and relationships) is changed. And audit tables also needs to be copied. Is there any way to map tables, columns from old Oracle schema and new MySQL schema and apply copy so that the data will be copied?

We are thinking doing this activity in two steps. 1. Convert Oracle database to MySQL database. 2. Writing stored procedure to copy table by table.

Is there any best practices while performing this kind of database migration from one RDBMS vendor to another? Is there any open source or commercial tools available for this?

share|improve this question
There are already answers for such question on StackOverflow, please refer existing answers if you do not find answer, then create question. –  Glenn McKay Dec 4 '13 at 10:02

3 Answers 3

I recommend to do this migration in two steps.

  1. Use MySQL Workbench to migrate most of the db objects and data to MySQL (table data will be copied by this process too). See Using the MySQL Workbench Migration Wizard for details. This will leave you with manual work for specific objects like stored procedures. No tool can do an automatic migration as stored routines differ vastly between Oracle and MySQL.
  2. Us MySQL Workbench to reverse engineer the migrated db into a model.
  3. Use this model to adjust objects to your new schema structure.
  4. Synchronize the model to your server to apply the changes. Depending on what changes you made this might be non-destructive, but of course, having a backup is always a good idea.

You can repeat steps 3 and 4 as many times as you wish to incrementally adjust your schema. Synchronization will also take over any changes made in schema by others (two way sync).

share|improve this answer

I would prefer SQLyog for this. SQLyog provides Import External Data to streamline the transfer of data from any ODBC compliant data source to MySQL. It requires an appropriate ODBC-driver (matching the data source) installed on the system where SQLyog is running.

share|improve this answer


MySQL workbench does not support "Migration from Oracle DBs is not supported: http://dev.mysql.com/doc/workbench/en/wb-migration-database-concepts.html"

share|improve this answer
You haven't given a solution to the question. Also that bug indicates the migration utility that ships with workbench will work fine. –  James Anderson Nov 3 '14 at 7:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.