MongoDB

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License.

Note: MongoDB is a Premium database in Database Browser.

Connect with MongoDb from Database Browser

To connect MongoDB databases following elements are required.

  • Connection Url

Or

  • Database name

  • User Name

  • Password

  • Host

How to get Connection Url?

Standard Connection String Format

This section describes the standard format of the MongoDB connection URI used to connect to a MongoDB deployment: standalone, replica set, or a sharded cluster.

The standard URI connection scheme has the form:

mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]

Check documentation for more details: https://docs.mongodb.com/manual/reference/connection-string/

In add-on you have to follow below steps,

  • First, name your Connection.

  • Then , give required elements to establish connection.

  • Either Url or other elements should be provided.

  • then click on test now to check status of your connection.

  • If the connection is successful just save connection to query.