认证机制“SCRAM-SHA-1"不支持 [英] The authentication mechanism "SCRAM-SHA-1" is not supported
本文介绍了认证机制“SCRAM-SHA-1"不支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用 mongoc_client_new 进行用户认证时,产生错误,不支持认证机制SCRAM-SHA-1".
when i use mongoc_client_new to user authentication, produce the error, The authentication mechanism "SCRAM-SHA-1" is not supported.
有什么问题
推荐答案
第一:您使用的是哪种语言?如果是c++,可能是没有初始化导致的错误.一个简单的
First: Which language are you using? If it's c++, the error may be caused by the lack of initialization. A simple
using mongo::client::initialize;
Status status = initialize();
帮我解决了.
这篇关于认证机制“SCRAM-SHA-1"不支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文