modif params

This commit is contained in:
Colas Geier 2022-06-01 10:33:04 +02:00
parent 5386772a70
commit 340b2fa181

View File

@ -11,18 +11,18 @@ isin_bdd = True
# adr = '192.168.60.10'
# base = 'bd_cen'
# con = create_engine('postgresql+psycopg2://{0}:{1}@{2}/{3}'.format(user,pwd,adr,base), echo=False)
user = 'xxxxxx'
pwd = "xxxxxx"
adr = 'xxxxxx'
user = 'cen_admin'
pwd = "#CEN38@venir"
adr = '91.134.194.221'
base = 'azalee'
url = URL.create("postgresql+psycopg2", username=user, password=pwd, host=adr, database=base)
con = create_engine(url)
# con = create_engine('postgresql+psycopg2://{0}:{1}@{2}/{3}'.format(user,pwd,adr,base), echo=False)
# Parametres bdd SICEN OUT
sicen_user = 'xxxxxx'
sicen_pwd = 'xxxxxx'
sicen_adr = 'xxxxxx'
sicen_user = 'cen_admin'
sicen_pwd = '#CEN38@venir'
sicen_adr = '91.134.194.221'
sicen_base = 'sicen2'
sicen_url = URL.create("postgresql+psycopg2", username=sicen_user, password=sicen_pwd, host=sicen_adr, database=sicen_base)
sicen_con = create_engine(sicen_url)