In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to solve the MongoVUE Collections data does not display the problem, I believe that most people do not understand, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!
Problem description:
Using the mongoDB database, the data is added successfully and can be queried using the command line, but the data is not displayed in MongoVUE (I am using version 3.4 of mongoDB)
Reason:
Engine problem, as long as it is reduced to version 2.x, it can be shown that 3.x defaults to wiredTiger engine and 2.x defaults to mmapv1 engine.
Solution:
Originally, mongod was used to start the database-- dbpath E:\ mongodb\ data
Now change it to: mongod-storageEngine mmapv1-dbpath E:\ mongodb\ data
Where E:\ mongodb\ data is my database storage path
Note: after modification, mongodb starts to report an error. It may be that the database created with wiredTiger cannot be opened using mmapv1. You need to re-specify the dbpath database storage path, or empty the folder, that is, to clear the E:\ mongodb\ data mentioned above.
Well, it's finally ready to start, and you can see the Collections collection in MongoVUE.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.