Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MsSQL -> MySQL Sync

Posted on 2003-11-28
6
Medium Priority
?
1,021 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 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

610 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