How to migrate SQL Server database to MySQL?

Mark Ma picture Mark Ma · Nov 5, 2011 · Viewed 84.2k times · Source

I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.

I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.

And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).

What tool can I use to do this migration?

Answer

aleroot picture aleroot · Nov 5, 2011

I'm usually using opendbcopy for these kind of jobs ...