首页 > 数据库技术 > 详细

pymongo.errors.OperationFailure: This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.

时间:2019-12-13 19:22:27      阅读:789      评论:0      收藏:0      [点我收藏+]

This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.

此MongoDB部署不支持可重试写入。请将retryWrites=false添加到连接字符串中。

如下设置即可
client = MongoClient("192.168.52.131:27017", retryWrites="false")

pymongo.errors.OperationFailure: This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.

原文:https://www.cnblogs.com/rhgaiymm/p/12036825.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!