sam943228
Lost MongoDB Root Password
Project ID: 09bfaafb-33a7-48fe-b38c-677ca286d82e/service/3ee2d273-484d-4f5d-839c-138b723e0bf6
Hi. Is there a way to recover the original
MONGOPASSWORD
Variable value?
I thought changing the Variable values for MONGO_INITDB_ROOT_USERNAME
& MONGO_INITDB_ROOT_PASSWORD
would change the MongoDB actual root username and password as well, which it didn't.
So now I've lost the original password and can no longer access the DB.
The DB isn't empty and I got no backup in place.
I tried disabling authentication via custom start command with docker-entrypoint.sh mongod --noauth --ipv6 --bind_ip ::,0.0.0.0
, but I get error initialization failed.35 replies