Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MONGO_HOST = "IP Address I think"
- MONGO_DB = "server name"
- MONGO_USER = "username"
- MONGO_PASS = "password"
- server = transport(
- MONGO_HOST,
- ssh_username=MONGO_USER,
- ssh_password=MONGO_PASS,
- remote_bind_address=('address', gate),
- local_bind_address=('address', gate)
- )
- server.start()
- client = AsyncIOMotorClient('address', gate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement