Why does the Mongod-dbpath command continue to get stuck on the connection port after you install MongoDB?

Source: Internet
Author: User
Tags install mongodb

1, the phenomenon is as follows

Linux

Windows

2. Reason

In fact, this is not stuck, but to tell us. The database has been started, and this stuff can not be turned off, it means the database is closed. At first, I was a jerk. Waiting for the day, eh ....

3. Treatment method

Linux

For Linux comparison Tangle, because the Linux command window directly CTRL + C exit, then Mongod will be closed AH!!! How to solve it?

I just threw it in the background to run.

# mongod-f/DATA/MONGO/MONGODB.CNF &

Windows

This is going to be a lot better. Re-open a command window on the line, to ensure that the original window does not turn off on it ~ ~ ~

Why does the Mongod-dbpath command continue to get stuck on the connection port after you install MongoDB?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.