In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
How do I start mongodb services in a windows environment? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
How to start mongodb service in windows environment:
1. Open the command window and change to the "bin" directory under the mongodb installation directory.
Enter the command: cd E:\ software\ MongoDB\ Server\ 3.4\ bin
2. Start the service. Enter the command: "mongod-- dbpath E:\ software\ MongoDB\ data
Note:-- dbpath is the specified database storage directory. Note that there are two "-" before dbpath.
3. If some startup information is printed in the command window, it means that the startup is successful. As follows:
4. Enter http://localhost:27017/ in the browser and you can see that the display information is:
At this point, the mongodb service has started successfully, and the mongodb service can be closed by closing the command window.
After reading the above, have you mastered how to start the mongodb service in the windows environment? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.