15 lines
224 B
Python
15 lines
224 B
Python
|
"""
|
||
|
Mongo_tfse
|
||
|
"""
|
||
|
|
||
|
import pymongo
|
||
|
|
||
|
DB_HOST = '116.63.130.34'
|
||
|
DB_USER = 'root'
|
||
|
DB_PASS = 'sromitdTW569kC#M'
|
||
|
DB_PORT = 27018
|
||
|
|
||
|
client = pymongo.MongoClient('mongodb://{}:{}@{}:{}'.format(DB_USER, DB_PASS, DB_HOST, DB_PORT))
|
||
|
|
||
|
|