Solved

From SQL Server to MySQL

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now