Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongo db get Unauthorize command listDatabases requiere authentication #3081

Closed
pokemonhan opened this issue Oct 21, 2021 · 3 comments
Closed

Comments

@pokemonhan
Copy link

Description:

mongo db get Unauthorize command listDatabases requiere authentication

Expected Behavior:

can connet mongo well.

Docker version 20.10.8, build 3967b7d

Output of docker-compose version

Docker Compose version v2.0.0

System info: Mac, Windows or Linux. Include which disto/version

Windows 10

@Asimilamy
Copy link

@pokemonhan you can try to remove the username and password field in .env file

MONGODB_PORT=27017
MONGO_USERNAME=
MONGO_PASSWORD=

@stale
Copy link

stale bot commented Apr 3, 2022

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Apr 3, 2022
@stale
Copy link

stale bot commented Apr 25, 2022

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants