Can anyone let me know the default username and password for Logging in MongoDB which i have recently downloaded from turnkey template.
Should get you going... :)
I just tested the v14.0 appliance via the Hub and I could log in fine using "admin" and the password I set on launch. It should work fine from the ISO install too (the Hub instances are built from the ISO).
Same problem here. Can't login after using template (proxmox) no matter what username/combo I try.
Proxmox with iso ver 14.01
With or whithout ubdates.
In a terminal set your new password:
service mongodb stop
mongod --dbpath /var/lib/mongodb --noauth --fork --logpath /var/log/mongodb/mongodb.reset-admin.log --bind_ip 127.0.0.1
mongo admin --eval "db.changeUserPassword(\"admin\",\"$NEW_PASS\");"
mongod --dbpath /var/lib/mongodb --shutdown
service mongodb start
[updated] to use the proper syntax for running mongo within a bash script (i.e. "--eval"); plus added "--bind_ip 127.0.0.1" when starting mongo with "--noauth" (so that mongo will only accept local connections while running with no authorisation required).
More information about text formats