Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stpettersens/csql2mongo

Utility to convert a SQL dump to a MongoDB JSON dump.
https://github.com/stpettersens/csql2mongo

Last synced: about 1 month ago
JSON representation

Utility to convert a SQL dump to a MongoDB JSON dump.

Awesome Lists containing this project

README

        

# csql2mongo
[![Build Status](https://travis-ci.org/stpettersens/csql2mongo.svg?branch=master)](https://travis-ci.org/stpettersens/csql2mongo)
[![Build status](https://ci.appveyor.com/api/projects/status/github/stpettersens/csql2mongo?branch=master&svg=true)](https://ci.appveyor.com/project/stpettersens/csql2mongo)

Utility to convert a SQL dump to a MongoDB JSON dump.
For migrating data from MySQL or similar RDBMS to MongoDB.

Usage: `csql2mongo -f data.sql -o data.json`

Tested with:
* Python 2.7.9, PyPy 2.5.1 and IronPython 2.7.5 (works).
* Jython 2.5.3 (use Jython tweaked version):
* `jython csql2mongo.jy.py -f data.sql -o data.json`