Command line and GUI Client for MongoDB · 01 ourse epartment pres indexes ongos> Connect Dialog...
8
19/08/2015 1 Mongo and Umongo Command line and GUI Client for MongoDB Mongo Command Line • Run in a command line shell – use ‘cmd’ in windows • Run by typing mongo • Type mongo --host mqr1.cs.stir.ac.uk –u (username) –p (password) (dbname) • You can try it online here • http://try.mongodb.org/ • Use the up arrow key to move through history of commands
Transcript of Command line and GUI Client for MongoDB · 01 ourse epartment pres indexes ongos> Connect Dialog...
19/08/2015
1
Mongo and Umongo
Command line and
GUI Client for MongoDB
Mongo Command Line
• Run in a command line shell – use ‘cmd’ in windows
• Run by typing mongo
• Type mongo --host mqr1.cs.stir.ac.uk
–u (username) –p (password) (dbname)
• You can try it online here
• http://try.mongodb.org/
• Use the up arrow key to move through history of commands
19/08/2015
2
UMongo
• GUI Client for MongoDB
• Free
• Does most simple things you’d want
• Lacks a simple command line! Use the mongo
command line
• A better tool is MongoVUE
– Free for single users – so put it on your own
machine
19/08/2015
4
Import a File
Examine Collection Contents
• Leave all blank to list
everything
• Type a query to limit
search
• Choose fields to return