Anil Vadhavane
Anil Vadhavane

Reputation: 71

Conversion from Microsoft SQL Server to MySQL

How do I convert a Microsoft SQL Server database backup file such that to import in MySQL database? Is there any way or free tool available for this?

Upvotes: 7

Views: 25682

Answers (4)

Icemanind
Icemanind

Reputation: 48686

Not sure about how complex a database you have, but if its just some tables and data, there is a free script here that will automagically convert Microsoft SQL Server tables and data over to MySQL.

If you need something more sophisticated, then MySQL has a migration toolkit which allows you to migrate from Microsoft SQL Server to MySQL. In addition here is a tutorial on how to use it. Note that this has now been discontinued, in favor of MySQL Workbench, which has data migration built in.

In addition, this converter will convert everything except stored procedures from MSSQL to MySQL, for a price of only $50 which isn't bad.

Also you may want to check out this whitepaper from MySql's website on how to plan a migration from SQL Server to MySQL, as well as some resources.

Upvotes: 20

CloudyMarble
CloudyMarble

Reputation: 37566

Take a look at Omega Sync it supports export import and synchronisation between different DBMS's including Schema and table data.

Upvotes: 0

Eduardo Lago Aguilar
Eduardo Lago Aguilar

Reputation: 783

If you are using a living MS SQL Server and a living MySQL server, then I think your best AND MORE ACCURACY option is to use an ETL/data transformation tool like Pentaho Data Integration (Kettle).

With Kettle you can visually design (using easy-to-learn data flow steps) almost any data transformation from single/multiple data source(s) to single/multiple data destination(s). One of the features you may be interested is the database/tables migration wizard.

If the community distribution of Kettle is not enough for you, then you can use the Enterprise Edition with more features, support, etc.

Upvotes: 0

JClaspill
JClaspill

Reputation: 1745

ms2my (Pre-Alpha, free) http://sourceforge.net/projects/ms2my/

"A tool that helps with MSSQL to MySQL converting/replicating (both csv&dump) under *nix.Possible to use it with crontab for regular data fetching.Keeping mySQL-based data warehouse refreshed could also be one of the possibilities of using this script."


MSSQL to MySQL Converter (free trial download, for purchase $49) http://www.convert-in.com/mss2sql.htm

I've looked for quite awhile, and if you don't want to try ms2my, the above is about the only other option. And it isn't free.


Best of luck finding a free one, hopefully there is one that is hidden away out there on the internet that I can't find.

Upvotes: 2

Related Questions