Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
{ useNewUrlParser: true } to MongoClient.connect. warnning
Patrick Szalapski
Programming language:
Whatever
2021-07-14 14:51:55
0
Q:
{ useNewUrlParser: true } to MongoClient.connect. warnning
Yinon Ehrlich
Code:
Whatever
2021-07-04 00:09:32
mongoose.connect("mongodb://localhost:27017/YourDB", { useNewUrlParser: true });
6
Tags
con
true
Related
multiple connections to mongoose
To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect
async await mongoose connection
Error: Cannot find module 'connect-mongo'
mongodb check connection status
monit: error connecting to the monit daemo
mongoose connect to URL of atals
mongodb local connection string
Mongoose db connect
DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
mongod connection url
New to Communities?
Join the community