连接mongodb Unable to connect to server 127.0.0.1:27017: Invalid credential for database 'test'

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了连接mongodb Unable to connect to server 127.0.0.1:27017: Invalid credential for database 'test'相关的知识,希望对你有一定的参考价值。

用客户端连接mongodb时,提示Invalid credential for database ‘test‘.或者未将对象引用设置到对象实例

解决方法:

技术分享图片

将username、password、databse去掉,Test一下就可以了

以上是关于连接mongodb Unable to connect to server 127.0.0.1:27017: Invalid credential for database 'test'的主要内容,如果未能解决你的问题,请参考以下文章

adb wifi连接调试,解决Unable to connect to device

RedisConnectionException: Unable to connect

RedisConnectionException: Unable to connect

secureCRT连接服务器报错:Unable to authenticate

SSMS 远程连接SERVER 设置 - Unable to connect to SQL Server instance remotely

Redis之 Unable to connect to localhost:6379