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

前端 未结 15 1889
终归单人心
终归单人心 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条回答
  •  Happy的楠姐
    2020-12-29 02:50

    You can also get rid of this error by creating a new database user by going to Database Access from the left side and then go to Add New Database User from right right. Now create a new username and password, click OK. Now replace this new username and password into the MongoUri.

提交回复
热议问题