From 3dd25f77952f4829af5c19a0b40d221df308a185 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Sun, 4 Apr 2021 13:32:25 +0300 Subject: fix:db connection --- gn3/experimental_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gn3/experimental_db.py b/gn3/experimental_db.py index c928265..a07aeba 100644 --- a/gn3/experimental_db.py +++ b/gn3/experimental_db.py @@ -5,7 +5,7 @@ import MySQLdb as mdb # type: ignore def database_connector()->Tuple: """function to create db connector""" - conn = mdb.connect("local", "kabui", "1234", "db_webqtl") + conn = mdb.connect("localhost", "kabui", "1234", "db_webqtl") cursor = conn.cursor() return (conn, cursor) -- cgit v1.2.3