Mongo Compass error

Hi guys.

Have anyone faced this error while connecting to mongo with compass in localhost?

This is the error:

An error occurred while loading navigation: command hostInfo requires authentication

I tried creating a user in admin db but when i try to authenticate it says authentication failed, also in localhost.

@Rui_Sousa_36045

First of all, there isn’t much to go on here. Try using the shell to connect and see if that works (my guess is that it won’t, but it’s worth a try).

If you can’t connect, either you didn’t create your user correctly, or you have a problem with the username or password or authentication database selection. Read the documentation here and start over to see what happened. Good luck.