Failed to load list of databases

48,657

Solution 1

It took me 7 days to figure it out. When I have upgraded to Robo 3T version 1.3. it started working just fine. My previous version was 1.2.

Good to know if you are having this issue.

Solution 2

In my experience, it is related to failed database user/password authentication. So probably your IP connection to server is successful but you failed to connect to db. I suggest to double check your database username/password and try again.

And better to show what is inside "Show error details".

Solution 3

Go to Connection Settings -> Authentication - Provide Database name, username, password - Now test the connection I ran into the same issue, then I provided the above info which solved my issue

Refer: (Vaibhav's post) Point 3.Populate DB name and username and password How to connect Robomongo to MongoDB

Solution 4

I have faced the same problem after updating the MongoDB version from 3.6 to 4.2 and previously I was using the Robo 3T version 1.2. So I just updated the Robo 3T version from 1.2 to 1.3 and it's started working again.

Solution 5

This is because whatever user you are connecting as does not have the privileges to list the databases.

https://docs.mongodb.com/manual/reference/built-in-roles/

Note that a user/role can connect and interact with a specific database/collection, but in order for Robomongo to list out the databases/collections, you need to let it connect to your database using a user that has listDatabases privileges.

check that your user has read/write & list all Databases privileges.

Share:
48,657
ehsan shirzadi
Author by

ehsan shirzadi

I'm Ehsan. Currently I'm a backend developer and also DevOps engineer of an international company. My personal interests are: Development of big project in scrum framework Taking advantage of new technologies Distributed systems Big data management Real time processing If you want to develop your projects, you can count on me, please contact me: [email protected] thank you.

Updated on February 03, 2022

Comments

  • ehsan shirzadi
    ehsan shirzadi over 2 years

    I want to connect to a remote database using Robomongo. I can connect to to database but an error says that:
    Failed to load list of databases
    enter image description here

    What should I do?

  • ehsan shirzadi
    ehsan shirzadi over 7 years
    There is not any passwords available! Do I have to set a password?
  • Gokhan Simsek
    Gokhan Simsek over 7 years
    Can you also share "Error Details", and which remote database are you using? For example for Mongo Atlas, you should define database user/password.
  • ehsan shirzadi
    ehsan shirzadi over 7 years
    No details! only this error! the details says again the same error
  • Gokhan Simsek
    Gokhan Simsek over 7 years
    There is error details, you are missing, you should click "Show error details"
  • Radioreve
    Radioreve about 7 years
    did anyone solve this problem? cause i'm running into the same issue after setting up mongodb on a vps at digital ocean. I can connect remotely, i can connect through ssh tunnel too, but I can't connect normally. The authentication fails, and the details of the error is : "network error while attempting to run command 'buildInfo' ". I've tried everything..
  • HMagdy
    HMagdy over 6 years
  • Sourabh Bhagat
    Sourabh Bhagat over 4 years
    you can write your solution as an answer, if you have resolved it (and mark it as accepted solution), so that others can see the way to solve this problem.
  • nickelman
    nickelman over 4 years
    This should really, really be upvoted more since this solved everything for me as well. No auth, no nothing, just connect to the exposed port and it worked. Thanks a lot.
  • nickelman
    nickelman over 4 years
    This is as well as storagemode11 answer the answer to solve this issue.
  • nam
    nam over 4 years
    Saving my life in 2020. Thanks!! :)
  • Exodium
    Exodium almost 4 years
    This works like a charm! Thank you! This answer should be Accepted and Upwoted!
  • Amin Shojaei
    Amin Shojaei over 3 years
    my robomongo was 0.9 version because I installed it from the Snap store!
  • TamingofTheShru
    TamingofTheShru almost 3 years
    This answer is from god himself. Also, what the actual heck Robo 3T :/