I am using mLab on Heroku to host my database, and I forgot my database password. I could not find anything about resetting my database password except for the following from the mLab website:
"it is possible that you’re mistakenly using the username and password that you use to log into your mLab account rather than the database user’s username and password. This is a common point of confusion because they are not necessarily the same."
Here is the full page
Does anyone know of a way to reset the database password (not my user password) on mLab?
Just to add slightly to the accepted answer of this post:
Go to the "Settings" tab of your selected application and select "Reveal Config Vars"
Your MongoDB username and password will be in the the MONGODB_URI
:
mongodb://USERNAME:[email protected]:13320/heroku_XXXXXX
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With