server returned error on SASL authentication step: Authentication failed

后端 未结 7 1333
死守一世寂寞
死守一世寂寞 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:07

    Often we confused with parameter in the mongoexport command with "Log-In" user. The command expects "Database Username" not Log-in username. This is one possibility to input wrong user name. "Database Username" can be found in "Users" tab for a database

    0 讨论(0)
提交回复
热议问题