0 votes
1 view
in Web Technology by (36.3k points)
How can I change the database from mysql to mongoDB ?

1 Answer

0 votes
by (78.7k points)

There are basically 2 methods:

Method 1: You can export from MySQL in a CSV format and then use the mongoimport tool. However, this does not always work well in terms of handling dates of binary data.

Method 2: Or you can script the transfer in your language of choice. In this method, you have to write a program that reads everything from MySQL one element at a time and then inserts it into MongoDB.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Oct 18, 2019 in Web Technology by Sammy (47.8k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...