MS SQL to MySQL
Latest version 6.3.5 released 05/24/2014
MSSQL-to-MySQL is a program to migrate Microsoft SQL databases to MySQL server. Depending on privileges on the target MySQL server user can either export MS SQL data into new database or overwrite the contents of an existing MySQL database.
Once you stored conversion settings into profile you can run the program in Quick Launch mode. Just launch Windows Explorer and double-click on the profile description (.m2s) file with left mouse button. This will cause MSSQL-to-MySQL wizard to launch conversion loading the necessary settings from the specified profile. Then you will be taken right to the screen with progress of conversion without entering all conversion settings.
MSSQL-to-MySQL implements synchronization as combination of insert MS SQL records that are missing in MySQL table and update existing MySQL records with MS SQL data. For synchronization purpose source and destination tables must have identical structures and have primary key or unique index defined. Assume both MS SQL and MySQL databases have table "People" defined as below:
People( ID INT NOT NULL, FName VARCHAR(50), LName VARCHAR(50), EMail VARCHAR(50), Primary Key (ID) );
This table has the following contents in MS SQL database:
In MySQL database:
After migrating MS SQL data to MySQL in "Synchronize" mode MS SQL table is kept untouched and MySQL table is modified as (pay attention to the cell marked red):
MSSQL-to-MySQL converts about 90% of syntax constructions that could be envolved into Microsoft SQL queries. Some of the conversion rules are described into this whitepaper. Below there is example of conversion results for the query with few calls of MS SQL embedded functions having no direct equivalent into MySQL:
Here is how it looked into Microsoft SQL:
And this is the resulting view in destination MySQL database:
MSSQL-to-MySQL converter can migrate SQL Server database into MySQL format even if there is no connection to MySQL server available. Following this way, the program exports MS SQL data into local MySQL dump file instead of migrating to MySQL server directly. The resulting file contains MySQL statements to create all tables and to fill them with the data. Click here to learn how to import dump file into MySQL database.
When using Virtual Server hosting customers may not have sufficient privileges to create new databases on the target MySQL server. For this case we recommend the following approach:
When you complete these steps, the entire contents of the source MS SQL database will be imported into the specified MySQL database.
Manual table structure customization can be accessed by double click on the corresponding table name in "Selected tables" list of "Step 4 of 6" wizard page. This will cause the following dialog box to appear:
To customize type mapping select the appropriate item in the listview on the left and specify new name, type and default value for the field using "Field info" group of controls. Please note that listview on the left contains column attributes of the original types mapping, new custom types and attributes will be displayed in "Field info" controls when the corresponding item is highlighted in the listview.
Still not sure the program fits your needs? Try free demo version with limited features. It will allow you to convert only five records for each database table, it does NOT convert queries/views and foreign keys. Test the quality of the demo and come back to place an order if satisfied with the results.
For online credit card purchasing select the appropriate option in the table below and click the corresponding "ORDER NOW" link. To learn about alternative payment options please visit Ordering Page. MSSQL-to-MySQL is covered by an unconditional 30 day money-back guarantee.
order single product
|Two Products Bundle
order MSSQL-to-MySQL + MySQL-to-MSSQL, save $24.5
|MySQL Migration Toolkit
software pack to convert any data source to MySQL
and vice versa