简体   繁体   中英

Importing .bak from MSSQL into MySQL database

My companies site uses a mysql database. One of our clients just trying to take advantage of our API is only able to give us the data in the form of a MSSQL .bak file I have been trying to import the file using the migration tool built inot mysql workbench but have no luck. On top of that I am trying to see if this can be done in powershell as I would like to automate this process in the future. Any suggestions or help would be appreciated

You cannot. MS SQL Server backups are proprietary to MS SQL Server and cannot be used with any other RDBMS. You will need to restore this backup to SQL Server, then use an additional tool to transfer the data from SQL Server into MySQL.

Can you do that second portion through PowerShell? Probably. Though SSIS would probably be a better method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM