Software Programmer
asked on
Conversion of MS SQL Server DUMP to MySQL
I have a SQL server DB dump and need to convert to a MySQL database DUMP or import in MySQL database.
Which tool is the open source and most suitable for this conversion ?
We don't have sufficient space or memory to install or import SQL server in our machine. However we have the MySQL installed.
Please advise.
Which tool is the open source and most suitable for this conversion ?
We don't have sufficient space or memory to install or import SQL server in our machine. However we have the MySQL installed.
Please advise.
How was the "MS SQL Dump" created ?
ASKER
through Backup option in SQL Server Management Studio. The file is named as test.bak
Microsoft's .bak files will not import into MySQL as-is. You will need to extract the database(s) from the file, then either export as SQL or import via ODBC using software such as MySQL Workbench.
ASKER
Do you know any open source conversion tool which converts .bak to .sql ???? which extracts the data and structure and converts to mysql equivalent ???
I am not aware of any such tool.
https://stackoverflow.com/questions/156279/how-to-import-a-sql-server-bak-file-into-mysql
https://dba.stackexchange.com/questions/20078/can-i-restore-a-sql-server-bak-files-without-sql-server
Once you have restored the database
https://mysqlworkbench.org/2012/07/migrating-from-ms-sql-server-to-mysql-using-workbench-migration-wizard/
https://stackoverflow.com/questions/156279/how-to-import-a-sql-server-bak-file-into-mysql
https://dba.stackexchange.com/questions/20078/can-i-restore-a-sql-server-bak-files-without-sql-server
Once you have restored the database
https://mysqlworkbench.org/2012/07/migrating-from-ms-sql-server-to-mysql-using-workbench-migration-wizard/
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Open in new window
If you're using more advanced features from MSSQL, they will not translate properly to MySQL. You could edit the file manually to correct the syntax or feature references. With a good text editor, that is a pretty simple process.If you still have access to the running MSSQL server, you might try the MySQL Workbench.