Answer the question
In order to leave comments, you need to log in
How to change dataBase in mongoose from test to users?
I do everything according to a reptile, https://mongoosejs.com/docs/index.html
but the problem is that everything is saved in test and I need to use user dataBase, I use the cloud version of mongi
Answer the question
In order to leave comments, you need to log in
all I figured out thanks mongodb://localhost:27017/usersdb is the name of userdb is the name of dataBase
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question