I need to convert my Mysql database to SQL Server 2005 database - mysql

I need to convert my Mysql database to SQL Server 2005 database, Is there any tools available for this conversion.

I will suggest a generic, standards-based, platform-independent approach, applicable to any two databases. Taken streight from an answer to another question, you can use any of the following tools:
SQL Workbench, using the WbCopy command
an ETL tool, like Pentaho Data Integration
DDLUtils
All of these will allow you to tweak the migration process to some degree (e.g. batch size).

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.

From MySQL to SQL Server Migrating and Mapping Tables

I have a running system on Java and MySQL. Moving the system to .NET environment. I also optimized the db tables on MS SQL which should be filled with the data from MySQL db. So i need to map the tables where to go because they are seperated now. How can i do that? What are the alternatives and the best way for it?
Thanks in advance.
SQL Server Integration Services (SSIS) is a great tool for migrating data between 2 points. You can also use the Import/Export Wizard (right click the database, Tasks, Import Data) that is included in SQL Server as a starting point.

How to import existing database from SQL Server into MySQL?

Is there any software that I can use to do this, or do I need to create a dump file from SQL Server that is compatible with MySQL?
If you can get the MySQL ODBC driver installed you can do the transfer with SQL Server management Studio (or whatever they're calling it now).
It doesn't do a great job with metadata so you'll probably have to deal with the constraints manually, as well as tweak the column definitions, but it will transfer the data.

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/

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.