arunbandari / mongo-gui

A web-based MongoDB graphical user interface
http://20.106.238.56:4321/
MIT License
280 stars 84 forks source link

Why is the admin table always empty ? #121

Open xjArea opened 1 year ago

xjArea commented 1 year ago

The mongo-gui project is the best-looking MongoDB GUI tool I have ever seen, thank you arunbandari for providing a good tool for the community. But when I use it, I always have and wonder, why there is no content in the admin table, I did create an admin account, and switched the role from userAdminAnyDatabase to root, and also set the mongod.cfg file :

security:
   authorization: enabled

Later, when visiting, the url also brought the account, and everything went smoothly, but the admin table of MongoDB-GUI still didn’t display any content, here is the shotscreen : ↓

image


In MongoDB Compass, admin table showed some information, but I don't know what is this : ↓

image


Uses the PHP-driven MongoDB-PHP-GUI, which has always displayed the complete content of the admin table : ↓

image


I think it's important to show the contents of the admin table, if you don't know what's in there, everything gets blurred, this problem is so strange. Can someone explain why and how to make the admin table display all the complete content ?