How to import a SQL Server .bak file into MySQL?

前端 未结 10 627
天涯浪人
天涯浪人 2020-12-02 04:52

The title is self explanatory. Is there a way of directly doing such kind of importing?

10条回答
  •  Happy的楠姐
    2020-12-02 05:51

    SQL Server databases are very Microsoft proprietary. Two options I can think of are:

    1. Dump the database in CSV, XML or similar format that you'd then load into MySQL.

    2. Setup ODBC connection to MySQL and then using DTS transport the data. As Charles Graham has suggested, you may need to build the tables before doing this. But that's as easy as a cut and paste from SQL Enterprise Manager windows to the corresponding MySQL window.

提交回复
热议问题