Permalink
Browse files

added mongodb:// to authenticated host uri

1 parent 59419c5 commit 474e557497a99baab2fb362f4489a3c1fa4a383d Jerry Schneider committed Jul 8, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/MongoDBLibrary/mongo_connection_manager.py
@@ -22,8 +22,8 @@ def connect_to_mongodb(self, dbHost='localhost', dbPort=27017, dbMaxPoolSize=10,
Example usage:
| # To connect to foo.bar.org's MongoDB service on port 27017 |
| Connect To MongoDB | foo.bar.org | ${27017} |
- | # Or for an authenticated connection |
- | Connect To MongoDB | admin:admin@foo.bar.org | ${27017} |
+ | # Or for an authenticated connection, note addtion of "mongodb://" to host uri |
+ | Connect To MongoDB | mongodb://admin:admin@foo.bar.org | ${27017} |
"""
dbapiModuleName = 'pymongo'

0 comments on commit 474e557

Please sign in to comment.