[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

How to copy a MySQL database into MSSQL 2005

What is the best method of importing a MySQL database into MS SQL 2005?  Is there a utility (free), or should I just manually re-create the database?  I dont care about the data, I just need the database structure copied over.
0
seanostephens
Asked:
seanostephens
  • 3
2 Solutions
 
Bradley HaynesCommented:
Export the database as a SQL file and import it into SQL Server. There is also a utility you can find on Google that does migrations. It is called SQL Way.
0
 
Jai STech ArchCommented:
exporting the database to SQL file will not really work...becos it has to be seen as what the DB holds...and i dont think the SYNTAX of MS and MYSQL are the same!!!

best is to use a tool or write your own custom tool which will generate the DB objects ...

if you still want to use a script file you have create scripts and modify them to suit MSSQL syntax...
0
 
Bradley HaynesCommented:
Using 'SQL Way' is the best method for migration between heterogeneous database platforms.
0
 
seanostephensAuthor Commented:
Hi Guys,

Thanks for your responses.  What about using the SQL server 2005 SSIS tool.  Is there anyway to dump a MySQL database say into a file and import it using the SSIS tool?  Or perhaps connect to it using some ODBC connector?

Thanks.
0
 
Bradley HaynesCommented:
The SSIS tool is a good way to go; here is a link to some resources:
http://www.databasejournal.com/features/mssql/article.php/3580216

IMHO it is rare that migration from MySQL to MSSQL products take place hence the lack of tools.
MySQL migration tools are focussed on import, is that arrogance or responding to the need?
HMMMMMM!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now