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.
3 Answers 3
According to the MySQL Documentation, the steps for the Migration Wizard should be
- Connecting to the databases
- Schemata Retrieval and Selection
- Reverse Engineering
- Object Selection
- Migration
- Manual Editing
- Target Creation Options
- Schema Creation
- Create Target Results
- Data Migration Setup
- Bulk Data Transfer
- 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 :
It might be a bug. I ran into the same issue and found the following bug report in my search for a fix: http://bugs.mysql.com/bug.php?id=66516
You can follow this tutorial.
https://lalitvc.wordpress.com/2016/12/28/mssql-to-mysql-data-migration-using-mysql-workbench-6-3
I think, the problematic step for not copying data is in "Data Migration Setup". Please select "Online copy of table data to target RDBMS".
Hopefully, your problem will be resolved.
Explore related questions
See similar questions with these tags.