From dbe87ec90a9e600cee0f9a6d4d6c86ac2f9412bf Mon Sep 17 00:00:00 2001 From: Colas Geier Date: Wed, 1 Jun 2022 10:39:08 +0200 Subject: [PATCH] update params --- pycen/params.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pycen/params.py b/pycen/params.py index ebf0fd2..1dbc983 100644 --- a/pycen/params.py +++ b/pycen/params.py @@ -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)