MySQL dump to SQL Server 2008 R2 - mysql

I recently redid a project for my company, and have to convert existing MySQL data to a SLQ Server 2008 R2 database.
I have a dump script from the old MySQL database, but it contains a helluva lot of data.
I was wondering if there are any solutions out there to feed the dump file to, and receive a SQL Server 2008 R2 script.
Any help would be appreciated.

Microsoft provides a free migration solution you maybe want to use
Microsoft SQL Server Migration Assistant (SSMA)
The free Microsoft SQL Server Migration Assistant (SSMA) makes it easy to migrate data from Oracle, Microsoft Access, MySQL, and Sybase to SQL Server. SSMA converts the database objects to SQL Server database objects, loads those objects into SQL Server, migrates data to SQL Server, and then validates the migration of code and data.

Related

Link and export data from Azure SQL table to my SQL table

Is there any possibility to export and create a link between one of the table from Azure SQL DB to the table in MySQL DB?
Firstly, you can migrate data from SQL server to your MySQL database. And there are many ways can help you achieve that. You can reference this blog :How to migrate SQL Server database to MySQL?.
But for Azure, you could not copy or migrate data from Azure SQL database to your on-premise MySQL DB, even with Azure Data Factory. Azure Data Factory only support MySQL as source server.
Secondly, You want to sync the data between Azure SQL database and your MySQL database. Azure SQL Data Sync only support Azure SQL Database and on-premise SQL Server instance.
This means that Azure could not help you migrate or sync data from Azure SQL data base to MySQL DB. You have to use third-party tools.
One of the ways is you can use MySQL Workbench Migration tool. Database migrations - enables migrations from Microsoft SQL Server, Microsoft Access, PostgreSQL, Sybase ASE, Sybase SQL Anywhere, SQLite, and more.
There are many tools to perform the migration from MS SQL Server to MySQL like Amazon DMS or Data Integration (Kettle), but in this case, we’ll use the MySQL Workbench Migration tool.
Please reference this tutorial: How to Migrate from MSSQL to MySQL.
Hope this helps.

Migrate some data from MySQL to MSSQL

I have a MySQL database.
I need to migrate some (not all) table's data (data records) from MySQL to MSSQL database, herewith convert structure of MySQL tables to new structure in MSSQL.
In future, I need to do automatic periodical synchronization between these databases.
Is there any tools? or I have to use some SQL proc's or queries? How can I do these things?
For reference: I'm using MSSQL Server 2008 R2 with ODBC driver for MySQL and SQL Migration Assistant for MySQL (with these tools, I have been fully converted MySQL to MSSQL database only).
Since you already have full SQL 2008, open the Visual Studio Intelligence BI installed with your SQL installation.
Then create a new project "Integration Services Project".
Therefor you create a new connection to your ODBC (should be wizards available).
Then add your tables, there you can modify, convert, tranasform the data.
The complete project you can save and add as sheduled task to your sql server agent.
Here is a tutorial which explains more: http://msdn.microsoft.com/en-us/library/ms169917.aspx

Given a SQL Server 2008 R2 *.mdf file, how can I import it to MySQL?

I've got a small SQL Server 2008 R2 *.mdf database file. I'm running Ubuntu and don't have SQL Server 2008 installed (and would prefer not to install it into my VM, if at all possible).
How can I import this data into a MySQL instance? Is this possible?
And MDF file is an internal file to SQL Server. One way to import it would be to attach it to a SQL Server and then exporting the data
SQL Integration Services
Custom Code
Using a conversion tool such as those listed in this article: Migrating from Microsoft SQL Server and Access to MySQL
However since you don't want to install SQL Server one suggestion perhaps using MONO to attach the mdf as datacontext in their equivalent of Linq2SQL and reading the data out your self.

Migrate from MySql to Sql server 2008

I have Mysql dump file of around 200 GB, now I need to migrate into Sql server 2008. So What approach I should follow, should I go ahead with the line by line sql statement or is there any GUI tool available which suits to my requirement ?
Microsoft SQL Server Migration Assistant for MySQL v1.0
Microsoft SQL Server Migration
Assistant (SSMA) is a toolkit that
dramatically cuts the effort, cost,
and risk of migrating from MySQL to
SQL Server 2005, SQL Server 2008, SQL
Server 2008 R2 and SQL Azure.

how to migrate DB from MySql to MS-SQL?

i want to migrate my whole DB from MySQL to MS-Sql server.
though i am open to use any tool,am restricted to use only free avilable tools.
Use Microsoft SQL Server Migration Assistan (SSMA) for MySQL
Microsoft SQL Server Migration Assistant 2005 for MySQL
Microsoft SQL Server Migration Assistant 2008 for MySQL
export db from MySql (mysqldump), edit by hand to convert between variations of SQL language in the two platforms, then import into MS-SQL.