
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
mongoDB - Browse Collections에 user가 생성되지 않습니다.
이미 여러 수강생들이 겪은 오류라 즉문즉답에 달린 해결방법을 이것저것 시도해봤는데도 해결되지 않아 질문 올립니다 ㅠㅠ
작성한 코드 및 에러 메세지
from pymongo import MongoClient
import certifi
ca = certifi.where()
client = MongoClient('mongodb+srv://sparta:test@cluster0.2ztg3av.mongodb.net/?retryWrites=true&w=majority')
db = client.dbsparta
doc = {
'name' : '영수',
'age' : 24
}
db.users.insert_one(doc)
