Solved

From SQL Server to MySQL

Posted on 2011-03-02
3
344 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
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…

756 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