Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 703 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 703 Bytes

MySql2Mongo

Quick export from MySQL database to MongoDB using python.

main.py -h
Usage: main.py [options]

Options:
  -h, --help            show this help message and exit
  -t TABLES, --tables=TABLES
                        List of exported tables by comma
  --host=HOST           MySql host
  -u USER, --user=USER  MySql username
  -p PASSWORD, --password=PASSWORD
                        MySql password
  -d DATABASE, --database=DATABASE
                        MySql database
  -m MONGO, --mongo=MONGO
                        MongoDB connection string
  --mongodb=MONGODB     MongoDB databse for exported data

Documentation can be found at http://yuksbg.github.io/mysql2mongo/