?
Solved

MsSQL -> MySQL Sync

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
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…
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…
Suggested Courses

762 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