数据库配置

parent 107540c3
...@@ -27,7 +27,7 @@ tamp_user_engine = create_engine( ...@@ -27,7 +27,7 @@ tamp_user_engine = create_engine(
db=config[env]['MySQL']['tamp_user_db'], db=config[env]['MySQL']['tamp_user_db'],
host=config[env]['MySQL']['host'], host=config[env]['MySQL']['host'],
port=config[env]['MySQL']['port'], port=config[env]['MySQL']['port'],
user=config[env]['MySQL']['user'], user=config[env]['MySQL']['user2'],
password=config[env]['MySQL']['password'], password=config[env]['MySQL']['password'],
charset="utf8" charset="utf8"
), ),
......
...@@ -49,6 +49,7 @@ prod: ...@@ -49,6 +49,7 @@ prod:
host: pc-uf666afrpfg8yj768.rwlb.rds.aliyuncs.com host: pc-uf666afrpfg8yj768.rwlb.rds.aliyuncs.com
port: 3306 port: 3306
user: tamp_pay user: tamp_pay
user2: tamp_user
password: '@imeng123' password: '@imeng123'
redis: redis:
host: r-uf6atruhdbq89enqz0.redis.rds.aliyuncs.com host: r-uf6atruhdbq89enqz0.redis.rds.aliyuncs.com
......
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