?
Solved

Sync or export import Mysql table

Posted on 2011-03-23
4
Medium Priority
?
289 Views
Last Modified: 2012-05-11
i runing Oscommerce and a accounting system. both also use Mysql Database. i now interested to integrate both program. to share product items. and invoice and PO. customer Database.

should i use sync found in some other problem. or should i do export and import?
0
Comment
Question by:aarontham
[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
4 Comments
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 2000 total points
ID: 35204498
They are each going to use different table names, column names, etc. It's gonna be a custom programming fix no matter which way you go.
1. Export import from the apps
2. Insert/update script in mysql
3. Modify one app or the other to use the other apps schema. (don't do this as you won't be able to update either app. Ever.)

So you probably want to just automate an export import every night or so.
0
 
LVL 2

Expert Comment

by:ASta
ID: 35206792
May be you can write triggers in mysql 4 sync between DB (if both db placed on single server)
or write app 4 sync started by sheduler.
0
 
LVL 8

Expert Comment

by:wolfgang_93
ID: 35210630
I don't understand the synchronization issue. Would you not simply point each
application at the same database server and database and tables -- where
applicable? MySQL would handle the synchronization automatically (e.g.
a user on each application doing an update on the same table). Just make
sure that all the tables involved are InnoDB as they handle row-locking
etc. best.
0
 

Author Comment

by:aarontham
ID: 35212812
Hi wolfgang,

can you explaint more. as this 2 application use diffrence database and offcouse both also use diffrence table name. and how to get Mysql handle the sync auto.

0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
The viewer will learn how to count occurrences of each item in an array.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

771 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