I’m trying out julia and need to connect to a mongoDB Atlas instance to continue, any pointers on how to do that in julia, thx!
2 Likes
@patber did you ever figure that out? Would love to see your solution if you found one!
Use the Mongoc package:
import Mongoc client = Mongoc.Client("mongodb+srv://<user>:<pass>@cluster0.bpkvi0i.mongodb.net/<db>") # change to your username, password, database respectively Monogc.ping(client) # if you get TLS problem, set SSL_CERT_FILE to /etc/ssl/certs/ca-certificates.crt or wherever your cert/pem is
2 Likes