Commit c003112f authored by 赵杰's avatar 赵杰

engine新增

parent 613d1b43
......@@ -84,6 +84,18 @@ tamp_fund_engine = create_engine(
pool_recycle=600
)
tamp_diagnose_app_engine = create_engine(
'mysql+mysqldb://{user}:{password}@{host}:{port}/{db}?charset={charset}'.format(
db=config[env]['MySQL']['tamp_diagnose_app_db'],
host=config[env]['MySQL']['host'],
port=config[env]['MySQL']['port'],
user=config[env]['MySQL']['user'],
password=config[env]['MySQL']['password'],
charset="utf8"
)
)
# redis = redis.StrictRedis(
# host=config[env]['redis']['host'],
# port=config[env]['redis']['port'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment