# MongoDB in the cloud\<Deployment\>

**URL:** <https://forum.codewithmosh.com/t/mongodb-in-the-cloud-deployment/3315>\
**Category:** Node\
**Created:** [March 12, 2021, 3:13am UTC](https://forum.codewithmosh.com/t/mongodb-in-the-cloud-deployment/3315 "2021-03-12T03:13:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kunalP](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kunalP](https://forum.codewithmosh.com/u/kunalP)\
**Post date:** [March 12, 2021, 3:13am UTC](https://forum.codewithmosh.com/t/mongodb-in-the-cloud-deployment/3315/1 "2021-03-12T03:13:52Z")

</div>

Hi Mosh,  
There is no mLab MongoDB in heroku’s addons.  
It seems like mLab has shut down its Heroku add-on.

I tried by doing Atlas but got some different error.  
So can you please help us to redesign that one topic, because most of we are struggling alot in here.

lots of love.

---

<div class="post-metadata">

**Author:** ![sampreeth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sampreeth/32/523_2.png) [@sampreeth](https://forum.codewithmosh.com/u/sampreeth)\
**Post date:** [March 13, 2021, 11:55pm UTC](https://forum.codewithmosh.com/t/mongodb-in-the-cloud-deployment/3315/2 "2021-03-13T23:55:44Z")

</div>

Hope this helps you

> [@Heroku mongodb deployment error React course](https://forum.codewithmosh.com/t/heroku-mongodb-deployment-error-react-course/297/11):
>
> Steps I followed to fix this issue. First, npm update mongoose Latest mongoose as of 5/01/2021 is mongoose 5.11.10. If there is a newer version please check the documentation. Second, If you are following mosh course. Open db.js in startup folder. Change mongoose.connect(db) to mongoose.connect(db, {useNewUrlParser:true, useUnifiedTopology: true}) Three, copy the connection string for Node driver version 2.2.12 or later. make sure the connection string does not have (mongodb+srv) co…

Cheers 🙂

---

<div class="post-metadata">

**Author:** ![NathanielKhallil](https://avatars.discourse-cdn.com/v4/letter/n/898d66/32.png) [@NathanielKhallil](https://forum.codewithmosh.com/u/NathanielKhallil)\
**Post date:** [April 20, 2022, 10:25pm UTC](https://forum.codewithmosh.com/t/mongodb-in-the-cloud-deployment/3315/3 "2022-04-20T22:25:04Z")

</div>

I am also having a bucket of problems with this. I follow the steps… have Atlas hooked up, but my application is plagued with Winston errors failing to connect.

---

<div class="post-metadata">

**Author:** ![Bravono](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/bravono/32/3426_2.png) [@Bravono](https://forum.codewithmosh.com/u/Bravono)\
**Post date:** [April 12, 2023, 1:02pm UTC](https://forum.codewithmosh.com/t/mongodb-in-the-cloud-deployment/3315/4 "2023-04-12T13:02:31Z")

</div>

Hi, @sampreeth step 4 is not clear. What exactly do you want me to do after clicking on “Reveal”?
