Skip to content
Snippets Groups Projects
Commit 89e297ef authored by Sebastian Pohl's avatar Sebastian Pohl
Browse files

working on db migration 2

parent f9674d87
Branches
No related merge requests found
......@@ -21,6 +21,10 @@ def migrate_mongodb():
# start ssh tunnel
server.start()
print("DEBUG:", "remote_bind_address", "('127.0.0.1' 27017)")
print("DEBUG:", "local_bind_port", str(server.local_bind_port))
print("DEBUG:", "local_bind_address", str(server.local_bind_address))
client = MongoClient('127.0.0.1', server.local_bind_port)
db = client["github_scraping"]
data = db.list_collection_names()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment