Sync or export import Mysql table

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?
aaronthamAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Aaron TomoskyConnect With a Mentor SD-WAN SimplifiedCommented:
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
 
AStaCommented:
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
 
wolfgang_93Commented:
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
 
aaronthamAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.