摘要: 需要指定 directConnection=true&authSource=atp-test 参数,,否则会报连接副本集超时。 在 PyMongo 中,directConnection 参数可以决定客户端是否直接连接到 MongoDB 服务器,而不是自动发现所有的副本集成员。当 directConn 阅读全文
posted @ 2024-08-14 17:06 夜歌乘年少 阅读(2) 评论(0) 推荐(0) 编辑