Unable to connect to MongoLab “auth fails” error

后端 未结 4 1103
南方客
南方客 2021-02-05 05:37

I am new to mongo. Recently created an account in mongoLab.

I am trying to connect to the database using the below statement.

mongo ds039487.mongolab.co         


        
4条回答
  •  长情又很酷
    2021-02-05 06:03

    OK - I figured it out and would also like to add onto pneumee's answer.

    1. Go to mongolab.com
    2. Login.
    3. Navigate to the "Users" tab.
    4. If you have forgotten your Username and Password for the database, I suggest you "Add a new user" and supply it with the username and password.

    db username and db password

提交回复
热议问题