Solved

From SQL Server to MySQL

Posted on 2011-03-02
3
343 Views
Last Modified: 2016-03-18
Hi,

We have SugarCRM application (MySQL Database), and later on, daily, we need to import from SQL Server to the MySQL database. This needs to be done automatically (scheduler)

My questions :
What is the best way to do that? and we don't have any budget to buy MySQL Export Import tool

I think there are some alternatives :
- Make that the SQL Server to export to MySQL
- Make a PHP funtion that read from SQL server and write it to MySQL, The make CRON job to schedule the job.
- Is there any other alternative to do that?
0
Comment
Question by:softbless
3 Comments
 
LVL 50

Assisted Solution

by:Lowfatspread
Lowfatspread earned 250 total points
ID: 35022986
you could schedule it all from the ms sql server side....

you could define the mysql database as a linked server on the ms sql instance , and perform all the necessary

etl style processing there... (or at least do the extract and an ftp to your mysql server,,,)


look at MS SQL Server SSIS jobs....
0
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 250 total points
ID: 35023008
Youcan export schemea and or data from SQL management studio.  There must be a way to script it.  Also I've done the export using mysql GUI tools which is now part of mysql workbench or somethig. It connects to ms SQL and directly imports to mysql. Again I don't know if it can be scripted.
0
 

Author Closing Comment

by:softbless
ID: 35133774
Thanks
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question