Failed to load list of databases
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.
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, 2022Comments
-
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
What should I do?
-
ehsan shirzadi over 7 yearsThere is not any passwords available! Do I have to set a password?
-
Gokhan Simsek over 7 yearsCan 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 over 7 yearsNo details! only this error! the details says again the same error
-
Gokhan Simsek over 7 yearsThere is error details, you are missing, you should click "Show error details"
-
Radioreve about 7 yearsdid 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 over 6 yearsu can use this to grant privileges stackoverflow.com/questions/22638258/create-superuser-in-mongo
-
Sourabh Bhagat over 4 yearsyou 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 over 4 yearsThis 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 over 4 yearsThis is as well as storagemode11 answer the answer to solve this issue.
-
nam over 4 yearsSaving my life in 2020. Thanks!! :)
-
Exodium almost 4 yearsThis works like a charm! Thank you! This answer should be Accepted and Upwoted!
-
Amin Shojaei over 3 yearsmy robomongo was 0.9 version because I installed it from the Snap store!
-
TamingofTheShru almost 3 yearsThis answer is from god himself. Also, what the actual heck Robo 3T :/