server returned error on SASL authentication step: Authentication failed

后端 未结 7 1338
死守一世寂寞
死守一世寂寞 2020-12-12 20:14

The following is my MongoDB connection dial from GoLang. But it\'s returning a panic \"server returned error on SASL authentication step: Authentication failed.\".

7条回答
  •  北海茫月
    2020-12-12 21:04

    The error you report seem the cause of the authentication fail is caused by a nil pointer, you should check the data before using them to create the connection

提交回复
热议问题