connect mongoDB atlas cluster using mongo+srv uri

jtobelem Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Registered, Neuron 2022 Posts: 19 ✭✭✭✭✭


I have set up a mongoDB atlas cluster. I can connect to this cluster from a notebook in a DSS project with the code :

import pymongoclient = pymongo.MongoClient("mongodb+srv://")client.list_database_names()['sample_airbnb','sample_analytics','sample_geospatial','sample_mflix','sample_restaurants','sample_supplies','sample_training','sample_weatherdata','admin','local']

But I am not able to create a connection on this cluster (see image). I don't know if the word '+srv' in the uri is required.

Best Answer

Setup Info
      Help me…