Guest User

Untitled

a guest
Sep 27th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. client = MongoClient(host= URL_OF_YOUR_DB,
  2. port= PORT,
  3. username='hayri',
  4. password='apti',
  5. authSource= YOUR_DB_NAME,
  6. authMechanism='SCRAM-SHA-1')
  7.  
  8. db = client[YOUR_DB_NAME]
Add Comment
Please, Sign In to add comment