[nodejs] Re: I am trying to connect with mongodb database but it throws some kind of error I am unable to understand

2020-07-27 Thread Zlatko
Hi there, On Sunday, July 26, 2020 at 2:09:29 AM UTC+2, Aman Kr Sharma wrote: > > > > (node:94165) DeprecationWarning: current Server Discovery and Monitoring > engine is deprecated, and will be removed in a future version. To use the > new Server Discover and Monitoring engine, pass option {

[nodejs] Re: I am trying to connect with mongodb database but it throws some kind of error I am unable to understand

2020-07-27 Thread Choo Tze Sien
mongoose.connect( *Connection URL to Database here*, { useNewUrlParser: true , useCreateIndex: true, useFindAndModify: false, useUnifiedTopology:true }) Hi! Aman, I met the problem while starting to explore mongoDB as well. Hope this solves the problem! On Sunday, 26 July 2020 08:09:29 UTC+8, Am

Re: [nodejs] I am trying to connect with mongodb database but it throws some kind of error I am unable to understand

2020-07-27 Thread Rahul Deewan
Hi, I think MongoDb installed on your system is not running. Please run that first and then try to execute the program. On Sun, Jul 26, 2020 at 5:39 AM Aman Kr Sharma wrote: > I am trying to connect with mongodb database but it throws some kind of > error I am unable to understand > > > (node

[nodejs] Re: I am trying to connect with mongodb database but it throws some kind of error I am unable to understand

2020-07-27 Thread Sanjay Sharma
On Saturday, July 25, 2020 at 8:09:29 PM UTC-4, Aman Kr Sharma wrote: > > I am trying to connect with mongodb database but it throws some kind of > error I am unable to understand > > > (node:94165) DeprecationWarning: current Server Discovery and Monitoring > engine is deprecated, and will be