I’ve just set up RockMongo as per these instructions, but I can’t see how to change my username/password from the defaults (admin/admin).
In the config.php file there are two commented out lines to set mongo_user and mongo_pass, but these are database specific (I believe), and I’ve tried changing them but the login credentials for RockMongo are still admin/admin.
Anyone know how to change them?
You need to change the line in
config.phpjust below where you were looking:The first admin is the username and the second the password.
There is a comment on that line mentioning the caveat that this only works if mongo_auth is set to false (which is the default).