Sql-server – MySQL Workbench copies Schema, but not data, from SQL Server 2008

migrationMySQLmysql-workbenchsql server

I need to copy/migrate a database from MSSQL (SQL Server 2008) into MySQL. I am using the MySQL Workbench kit, and work through the process of the Migration. Each respective DB user has full access, the ODBC drivers are in place as well as the DSN.

It winds up copying the schemata successfully, but not any of the data. There are no errors or warnings (other than charset notices) and I am drawing blanks as to why data will not transfer over. There are not a lot of options in the migration steps, so I don't think I missed anything.

Best Answer

According to the MySQL Documentation, the steps for the Migration Wizard should be

  1. Connecting to the databases
  2. Schemata Retrieval and Selection
  3. Reverse Engineering
  4. Object Selection
  5. Migration
  6. Manual Editing
  7. Target Creation Options
  8. Schema Creation
  9. Create Target Results
  10. Data Migration Setup
  11. Bulk Data Transfer
  12. Migration Report

Sounds like you got to Step 9. You have to make sure to setup Data Migration. Apparently, it is not automatic.

If you are having problems with the import, you are not alone. This has been a source of heartache for many. You may need to try :