mongodb學習記錄

來源:互聯網
上載者:User

標籤:文法   and   comm   命令   log   details   拒絕   command   archive   

參考來源:http://www.cnblogs.com/huangxincheng/archive/2012/02/18/2356595.html

由於目標電腦積極拒絕,無法串連--mongoDB串連錯誤解決辦法
http://blog.csdn.net/mevicky/article/details/47312751

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

1.在安裝目錄下建立 mongo.config

配置:

dbpath=D:\mongodb\db

logpath=D:\mongodb\log\mongo.log

一個是你資料庫地址,一個是日誌地址,若沒有,則要建立對應的檔案夾和檔案。

2.運行bin下的 mongo.exe,ok,可以串連了。

免安裝版 :http://pan.baidu.com/s/1bo2rWir

文法:

cmd,開啟命令列,進入資料庫目錄

1.d:

2.cd mongodb\bin

3.mongo (串連test資料庫)

 

mongodb學習記錄

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.