Error Message: MongoError: bad auth Authentication failed through URI string

前端 未结 15 1878
终归单人心
终归单人心 2020-12-29 02:36

I\'m trying to connect to my mongoDB server via the connection string given to me by mongo:

"mongodb+srv://david:p         


        
15条回答
  •  無奈伤痛
    2020-12-29 03:03

    I forgot to update the user after generating and copying the password and was wondering why it wasn't working. I saw the update button later. I was not visible to me earlier. lol. Solved the problem.

    Database Access => edit user => generate/copy password => update it! It worked for me.

    remember to make sure you have updated it.

提交回复
热议问题