From d4479086bf496f87a228445e5e952855a9af54dc Mon Sep 17 00:00:00 2001 From: Colas Geier Date: Thu, 14 Oct 2021 11:41:15 +0200 Subject: [PATCH] =?UTF-8?q?params=5Fconnection=20update=20d=C3=A9finition?= =?UTF-8?q?=20des=20connexions=20vers=20homer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pycen/params.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pycen/params.py b/pycen/params.py index c3fafbc..bbb2035 100644 --- a/pycen/params.py +++ b/pycen/params.py @@ -5,10 +5,15 @@ from sqlalchemy import create_engine isin_bdd = True # Parametres bdd CEN38 OUT -user = 'postgres' -pwd = 'tutu' -adr = '192.168.60.10' -base = 'bd_cen' +# user = 'postgres' +# pwd = 'tutu' +# 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' +base = 'azalee' con = create_engine('postgresql+psycopg2://{0}:{1}@{2}/{3}'.format(user,pwd,adr,base), echo=False) # Parametres bdd SICEN OUT