karideo/back/transfer_bdd/v0.0...v1.0/db.py

13 lines
253 B
Python
Raw Normal View History

2020-02-15 09:08:40 +01:00
from realog import debug
import psycopg2
2020-02-18 18:43:18 +01:00
def connect_bdd():
debug.info("connect BDD: ")
conn = psycopg2.connect(dbname="karideo", user="root", password="postgress_password", host="localhost", port="15032")
return conn
base_bdd_name = "karideo_"