If you have installed mongodb server, then in the console, type:


If you see the "couldn't connect" error, it means that your mongodb server is not running:

MongoDB shell version: 2.6.10                                                                                                                                                                                                                                                          
connecting to: test                                                                                                                                                                                                                                                                    
2017-07-12T20:55:00.407+0800 warning: Failed to connect to, reason: errno:111 Connection refused                                                                                                                                                                       
2017-07-12T20:55:00.407+0800 Error: couldn't connect to server (, connection attempt failed at src/mongo/shell/mongo.js:146                                                                                                                                  
exception: connect failed

and you should start your server.

If you are able to connect, press CTRL-D to quit, and you can try using python to store and retrieve data from your mongodb server.


Need help?

If you need help with XWiki you can contact: