Migration from SQL Server2008r2 to MySQL - mysql

we are converting MSSQL to MySQL using exp/imp wizard in MSSQL server 2008R2.
I have followed this link
http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/826cd1e8-cce3-4c08-839d-f6931ac75ef5
I have downloaded MySQL Connector/ODBC 3.51 and created DSN named "TestTAP"
And then i have used SQLServer --> TestDB --> Tasks --> Export Data, i have got Imp and Exp wizard
Please visit this link.....
http://www.flickr.com/photos/83606059#N04/show/
My ODBC driver is not appearing in the IMP and Exp wizard destination list
where am doing wrong?
Please help me folks
Regards

MySQL just added a migration tool to migrate into their Workbench tool. Details can be found here. I fail to see how it's going to migrate anything more than the most noddy database, but it might work.

The new Migration Wizard that comes with MySQl Workbench 5.2.41 will help you to migrate both the tables and their data. You can have an overview of its capabilities here:
How-To: Guide to Database Migration from Microsoft SQL Server using MySQL Workbench

Best thing to achive data migration is to use so ETL tools.This helps:
Fast data migration
Accurate data migration
Reusable jobs in future
Scheduling etc
For MySql I prefer using Talend Open Studio ETL tool which is open source and you can download it free.
Or you can also use SQL server SSIS.

Related

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.

Open source tool for MS SQL to SQL data migration (different schemas)

I am working on a project to migrate databases from MS-SQL Server to MySQL and looking for open-source libraries or tools that would make my job easier, provided that the source and destination DBs wouldn't be the same. (The migration is not just a replication as it involves different schemas for both the source and destination databases.) I searched for the available tools and found these:
jTDS
Microsoft JDBC 4.0
MDB tools (Migrate MS Access to MySQL)
I am planning to run a batch job and use jTDS library to read the data from MS-SQL Server and then dumping them in MySQL. Is this the best way to go about it? It would be helpful if one could direct me towards a good tool and the good way to handle this.
I have had extremely good experiences with the SQL Server Migration Assistant for MySQL, this was going from MySQL to SQL Server.
http://www.microsoft.com/en-us/download/details.aspx?id=28764
But for MySQL I believe the URL you want is:
http://www.mysql.com/why-mysql/white-papers/guide-to-migrating-from-sql-server-to-mysql/

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

how to import database created in microsoft sql server 2005 to MySql server 5.0

I have created database in microsoft sql server 2005 can i use that particular database in mysql server 5.0 .
There is no common way to perform such kind of migration because of much of differences between these two RDBMS.
The quick suggestion can be: export you MSSQL database into SQL file, open it via favorite text editor, remove MSSQL specific instructions, and load into MySQL using mysql console tool.
This way should be OK for non-complex databases without complex constraints, foreign keys and stored procedures.
Otherwise, you'll need to rewrite these type of database artifacts using MySQL dialect.

Databases: Migrate data between MS Access DB and MYSQL

I have 2 databases, one is MS Access DB from an old website, and the other one is MYSQL from the new Joomla+VirtueMart based website.
I need to migrate existing products from MS Access to MYSQL.
I thought of putting both on server and writing SQL queries in MYSQL workbench, untill I have a good script for that, but I'm very new to SQL, so I'd rather avoid that.
I there a better way and more efficient for that?
You can always export to CSV and import that in MySQL.
you can use tools like Database Workbench
MySQL provides a free graphical tool called "MySQL Migration toolkit" which automates the migration of Access 2003 MDB files (schema + data) into MySQL.
More info at the following link:
http://www.mysql.com/why-mysql/white-papers/a-guide-for-migrating-from-microsoft-access-to-mysql/
(you need to register with Oracle to download the PDF guide).
Here's another link using the ODBC technology
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-examples-tools-with-access-export.html