MongoDB Learning Record

Source: Internet
Author: User

Reference Source: http://www.cnblogs.com/huangxincheng/archive/2012/02/18/2356595.html

Unable to connect--MONGODB connection error resolution because the target computer is actively rejecting
http://blog.csdn.net/mevicky/article/details/47312751

Https://zhidao.baidu.com/question/1924395806192733907.html

1. Create Mongo.config in the installation directory

Configuration:

Dbpath=d:\mongodb\db

Logpath=d:\mongodb\log\mongo.log

One is your database address, one is the log address, if not, you want to create the corresponding folders and files.

2. Run the Mongo.exe,ok under the bin to connect.

Free Installation: Http://pan.baidu.com/s/1bo2rWir

Grammar:

CMD, open command line, enter database directory

1.D:

2.CD Mongodb\bin

3.mongo (connect test database)

MongoDB Learning Record

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.