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

前端 未结 15 1915
终归单人心
终归单人心 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:06

    I had the same problem, and in my case, the answer was as simple as removing the angle brackets "<"and ">" around . I had been trying: my_login_id:, when it should have been my_login_id:my_password.

提交回复
热议问题