?
Solved

From SQL Server to MySQL

Posted on 2011-03-02
3
Medium Priority
?
358 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 1000 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 1000 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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

598 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