Opret forbindelse til en eksisterende database
import pymongo
from pymongo import MongoClient
connection = MongoClient()
db = connection.mydatabase
import pymongo
from pymongo import MongoClient
connection = MongoClient()
# connection.database_names() # depreciated
connection.list_database_names()