1
This commit is contained in:
parent
70c556362e
commit
05decf5810
@ -105,6 +105,7 @@ def fetchEvent():
|
|||||||
global db_idx_hash
|
global db_idx_hash
|
||||||
mysql_cluster_conf = json.loads(open(CONFIG_DIR + '/mailsender.mysql.cluster.json', 'r').read())
|
mysql_cluster_conf = json.loads(open(CONFIG_DIR + '/mailsender.mysql.cluster.json', 'r').read())
|
||||||
for conf in mysql_cluster_conf:
|
for conf in mysql_cluster_conf:
|
||||||
|
print(conf)
|
||||||
conn = pymysql.connect(host = conf['host'],
|
conn = pymysql.connect(host = conf['host'],
|
||||||
port = conf['port'],
|
port = conf['port'],
|
||||||
user = conf['user'],
|
user = conf['user'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user