From 8c06a75f54a7bd8325a6f9b0042e5228e5a28125 Mon Sep 17 00:00:00 2001 From: Colas Geier Date: Wed, 1 Jun 2022 10:33:30 +0200 Subject: [PATCH] modif params --- pycen/params.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pycen/params.py b/pycen/params.py index 1dbc983..ebf0fd2 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 = 'cen_admin' -pwd = "#CEN38@venir" -adr = '91.134.194.221' +user = 'xxxxxx' +pwd = "xxxxxx" +adr = 'xxxxxx' 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 = 'cen_admin' -sicen_pwd = '#CEN38@venir' -sicen_adr = '91.134.194.221' +sicen_user = 'xxxxxx' +sicen_pwd = 'xxxxxx' +sicen_adr = 'xxxxxx' 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)