SHARE
TWEET

Untitled

a guest Jun 17th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MONGO_HOST = "IP Address I think"
  2.     MONGO_DB = "server name"
  3.     MONGO_USER = "username"
  4.     MONGO_PASS = "password"
  5.  
  6.     server = transport(
  7.         MONGO_HOST,
  8.         ssh_username=MONGO_USER,
  9.         ssh_password=MONGO_PASS,
  10.         remote_bind_address=('address', gate),
  11.         local_bind_address=('address', gate)
  12.     )
  13.     server.start()
  14.     client = AsyncIOMotorClient('address', gate)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top