After choosing MongoDB from the Data Sources list, the MongoDB Data Source page will be displayed, and the user needs to enter the following connection information:
- Name: The Data Source name
- Connection String: The format of the connection string, that is, mongodb://username:password@hostname:port/dbname?options
We will describe the fields of the connection string shortly:
- The username:password@ is optional. If given, the client will attempt to log in using these credentials to a database after connecting to the Mongo DB server.
- The port is the port that MongoDB is listening to. By default, the port is 27017, unless ...