Skip to content

lascapi/encymon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encymon

Personnal Encyclopedia

Python 2.7 and mongoDB 3.4

Memo

MongoDB Version 3.4

https://docs.atlas.mongodb.com/driver-connection/#python-driver-example

pymongo 3.4.0

If you have something like :

pymongo.errors.ConfigurationError: `ssl_cert_reqs` is not ssl.CERT_NONE and no system CA certificates could be loaded. `ssl_ca_certs` is required.

you can go to https://api.mongodb.com/python/current/examples/tls.html to solve your problem.

./config.database.txt

Something like that :

mongodb://kay:[email protected]:27017,mycluster0-shard-00-01.mongodb.net:27017,mycluster0-shard-00-02.mongodb.net:27017/admin?ssl=true&replicaSet=Mycluster0-shard-0&authSource=admin

About

Personnal Encyclopedia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages