# Mongo db deprecated

**URL:** <https://discourse.nodered.org/t/mongo-db-deprecated/48041>\
**Category:** General\
**Created:** [5 July 2021 09:43 UTC](https://discourse.nodered.org/t/mongo-db-deprecated/48041 "2021-07-05T09:43:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![OmkarNodered](https://avatars.discourse-cdn.com/v4/letter/o/90ced4/32.png) [@OmkarNodered](https://discourse.nodered.org/u/OmkarNodered)\
**Post date:** [5 July 2021 09:43 UTC](https://discourse.nodered.org/t/mongo-db-deprecated/48041/1 "2021-07-05T09:43:25Z")

</div>

Hello, I am using mongo db 3 node in store timestamp into it. As i started the node red following error has occurred in terminal:  
(node:2627) [MONGODB DRIVER] Warning: 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 { useUnifiedTopology: true } to the MongoClient constructor.

What is meant by this I am not getting?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [5 July 2021 10:43 UTC](https://discourse.nodered.org/t/mongo-db-deprecated/48041/2 "2021-07-05T10:43:49Z")

</div>

First off when you name a node, please give the full node name like `node-red-contrib-mongodb3` which will make it easier for people to help you.

If that is the node you are using you might want to look for another.  
(1) the node hasn't been updated in over two years.  
(2) The author is no longer supporting it. He stated in an [issue on May 3 2019](https://github.com/ozomer/node-red-contrib-mongodb2/issues/37#issuecomment-491755212)

> I'm sorry but I don't have time to work on this. We are no longer using Node-RED in my company so I don't have motivation to make that effort 😅

As for the error message, what don't you get? In a future release of MongoDB that feature will be removed.

And before you ask, no I don't have a recomendation of which node you should use since I don't use MongoDB, sorry.

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [5 July 2021 13:40 UTC](https://discourse.nodered.org/t/mongo-db-deprecated/48041/3 "2021-07-05T13:40:45Z")

</div>

Hello @OmkarNodered,

as @zenofmud said, the `node-red-contrib-mongodb3` you are using is no longer updated so its better to uninstall it and use a more recent one ( **note:** you wont be able to have two versions running)

I've been doing some tests with MongoDb and I used `node-red-node-mongodb` that i believe is looked over and maintained by the developers of node-red.

Regarding the useUnifiedTopology Warrning I was seeing it too in the console even with the more recent `node-red-node-mongodb`  
im not exactly sure to what its related but you can read some info on it [here](https://github.com/mongodb/node-mongodb-native/releases/tag/v3.2.1)

You can suppress the warning by passing an option in the config for the mongodb connection.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/b/9b34137309d6ff718668517cd3f0d949d7a7059d.png)

---

<div class="post-metadata">

**Author:** ![OmkarNodered](https://avatars.discourse-cdn.com/v4/letter/o/90ced4/32.png) [@OmkarNodered](https://discourse.nodered.org/u/OmkarNodered)\
**Post date:** [6 July 2021 06:52 UTC](https://discourse.nodered.org/t/mongo-db-deprecated/48041/4 "2021-07-06T06:52:40Z")

</div>

@zenofmud and @UnborN thanks for the help.. 🙂  
I have uninstalled node-red-contrib-mongodb3 and using node-red-node-mongodb, working fine.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 July 2021 06:52 UTC](https://discourse.nodered.org/t/mongo-db-deprecated/48041/5 "2021-07-20T06:52:53Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
