P
P
pingo2018-10-23 21:50:37
MySQL
pingo, 2018-10-23 21:50:37

How to synchronize order IDs of two shops on different hosts and databases?

How can you beautifully synchronize order numbers for two shops, on different hosts and engines? Both databases have local databases, and both have the order number - this is the auto-increment number of the order table.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2018-10-23
@pingo

Only by creating a joining table of orders with additional. field: real_shop_order_ID.
Order IDs for the new table can be sorted by timestamp (for further convenience of working with the table).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question