pymongo.errors.OperationFailure: not authorized on test to execute command { listCollections: 1, cur

利用pymongodb连接 mongodb 数据库的时候,常出现这个问题。报错信息 pymongo.errors.OperationFailure: not authorized on test to execute command { listCollections: 1, cursor: {} } 详情: 这里显示没有输入账号密码进行认证。因此没有权限对database 进行操作。 所以下面的
相关文章
相关标签/搜索