Solved

MsSQL -> MySQL Sync

Posted on 2003-11-28
6
1,017 Views
Last Modified: 2008-02-26
Hi

I have to synchronize two tables between a MsSQL and a MySQL database. The MsSQL is the master database and updates/inserts/deletes will only be made here.

I read that DTS might be a good choice for the synchronization.

My problem is that when I try to make a datapump from MsSQL to MySQL the “Enterprise Manager” crashes?? When defining the datapump it’s possible to define the source, but when I try to define the destination (MySQL) I get an error message “HRresult….”. sometimes if I’m lucky I get a chance to choose the destination table, but the Enterprise Manager can only find tablenames – NOT the fields of the table?? The strange thins is that the table names starts with “INFORMATION_SCHEMA”??

I’m using the MyOLEDB3 driver to connect to the MySQL database….. can that be the problem?
0
Comment
Question by:nicolajb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 8

Expert Comment

by:Dishan Fernando
ID: 9864494
Cant you to Export Data(From SqlServer) into .csv File Formats and then Import it into MySql??
0
 

Author Comment

by:nicolajb
ID: 9865271
I coudl o that but I needed the synchrinization to be executed every 30 minutes, and thought that DTS might be the answer.

Now I make the synchronization in a homemade synchronization program, using MySQL drivers for .Net. It works fine but I would still like to now what went wrong with my OLEDB driver.
0
 
LVL 8

Expert Comment

by:Dishan Fernando
ID: 9865296
How do you do synchronization in DTS. Call some SPs??
When Is the Error Hapen. When the DTS Execution time? OR Design time?
0
 

Author Comment

by:nicolajb
ID: 9865342
At design time. I tried to make a datapump to transfer data from a temporary table in the MsSQL to the MySQL database.
0
 

Accepted Solution

by:
fredman1365 earned 500 total points
ID: 10132321
Try creating an ODBC DSN using the OLEDB driver.  Name it MYSQL or something.  That way have the DTS point to the DSN.  Use the DTS Other(ODBC) datasource and choose the DSN of MYSQL.  Be sure to do this on the client PC designing the package as well as on the Server.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…

739 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