Unable to connect to MongoDB (MongoLabs) via C# client

后端 未结 4 759
庸人自扰
庸人自扰 2020-12-20 15:25

Question Background:

I have setup in MongoLabs (mLab - https://mlab.com/) a database and have added a very simple Collection. I am using the MongoDB

4条回答
  •  醉酒成梦
    2020-12-20 15:37

    Your connection string may be incorrect. You have /db at the end, is "db" the name of your authentication database?

    Ensure your authentication database is correct. If it is not you may want to remove it all together and let it fall back to admin

提交回复
热议问题