Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mlab resetting database password

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?

like image 501
dyang Avatar asked May 03 '16 18:05

dyang


1 Answers

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

like image 83
Conor Avatar answered Sep 19 '22 05:09

Conor