aboutsummaryrefslogtreecommitdiff
path: root/gn3/experimental_db.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-04-04 13:32:25 +0300
committerAlexander Kabui2021-04-04 13:32:25 +0300
commit3dd25f77952f4829af5c19a0b40d221df308a185 (patch)
treea150fbc3616073af2b9707e35104a52360abd82a /gn3/experimental_db.py
parentd2e24157130ea28a8ac5e7a4511074bb82b6d634 (diff)
downloadgenenetwork3-3dd25f77952f4829af5c19a0b40d221df308a185.tar.gz
fix:db connection
Diffstat (limited to 'gn3/experimental_db.py')
-rw-r--r--gn3/experimental_db.py2
1 files changed, 1 insertions, 1 deletions
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)