Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

...

  1. From the Data Repositories view, click the Add Server button icon.
  2. Choose one of the following modes from the Connection Mode dropdown menu and configure the connection details accordingly:
    • Host/Port: Enter the Data Repository Server's host and port. To use SSL to connect to the server, enable Use SSL.
    • Connection String: Enter the MongoDB connection string. An example of a connection string that connects to a local server with SSL is shown below. See https://www.mongodb.com/docs/manual/reference/connection-string/ for more information about MongoDB connection strings. 

      Code Block
      titleMongoDB Connection String Example
      mongodb://localhost:2424/?tls=true&tlsAllowInvalidHostnames=true
      Info

      If an authentication database is specified in the connection string, you should use the /defaultauthdb component; only use the ?authsource=defaultauthdb option if credentials are specified in the connection string.

  3. Enter the username and password to be used to log into your Data Repository Server.

    • If you chose Connection String as your connection mode, you have the option to specify credentials in either the connection string or in the Username and Password fields. If credentials are specified in both, those in the Username and Password fields will take precedence.

  4. Click OK.

...