mongodb 报错:Authentication failed 问题
问题:连接数据库时报错com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName=‘root’, source=‘gateway’, password=, mechanismProperties=} Command failed with error 18 (AuthenticationFailed): ‘Authentication failed
原创
2021-12-09 11:29:05 ·
8101 阅读 ·
2 评论