A
A
Alexander Konovalov2016-04-11 23:15:29
PHP
Alexander Konovalov, 2016-04-11 23:15:29

How to transfer base from mongo to muscle?

Hello! There was a need to use the muscle. Now I use mongo and I need to transfer everything to mysql. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Litvinenko, 2016-04-11
@edli007

Didn't transactions take an hour? they are there, just disable sharding in mongo. Similarly, if you enable sharding in mysql, transactions in normal use will not be available.

K
Konstantin Kitmanov, 2016-04-12
@k12th

mongoexport to JSON, from JSON we distill with a simple script into a bunch of INSERTs and voila. The code will, of course, have to be changed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question