aboutsummaryrefslogtreecommitdiffstats
path: root/python/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/db.py')
-rw-r--r--python/db.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/db.py b/python/db.py
index 5a4e10c8..38a152c3 100644
--- a/python/db.py
+++ b/python/db.py
@@ -7,6 +7,11 @@ conn = psycopg2.connect(database="ET",
host="debian",
cursor_factory=DictCursor)
+connmlpdb = psycopg2.connect(database="mlpdb",
+ user="mlpdb_user",
+ password="Serenitas1",
+ host="debian",
+ cursor_factory=DictCursor)
def with_connection(f):
def with_connection_(*args, **kwargs):
# or use a pool, or a factory function...