這篇文章將為大家詳細講解有關MongoDB啟動成功的標志是什么,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。
成都創(chuàng)新互聯是專業(yè)的龍州網站建設公司,龍州接單;提供成都做網站、網站制作,網頁設計,網站設計,建網站,PHP網站建設等專業(yè)做網站服務;采用PHP框架,可快速的進行龍州網站開發(fā)網頁制作和功能擴展;專業(yè)做搜索引擎喜愛的網站,專業(yè)的做網站團隊,希望更多企業(yè)前來合作!
啟動mongodb數據庫:
我本地是window10環(huán)境,我的mongodb服務安裝在F盤的mongodb文件夾。我的數據目錄在F的data文件夾。
啟動doc命令,輸入一下命令:
F:\>mongodb/bin F:\mongodb\bin>mongod --path=/data/db
啟動成功輸出以下信息:
2016-10-20T17:11:01.839+0800 I CONTROL [initandlisten] MongoDB starting : pid=1504 port=27017 dbpath=/data/db 64-bit host=Haier-PC
2016-10-20T17:11:01.842+0800 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
2016-10-20T17:11:01.844+0800 I CONTROL [initandlisten] db version v3.0.12-47-gd57ef6a
2016-10-20T17:11:01.844+0800 I CONTROL [initandlisten] git version: d57ef6a0c5a41729977f8d535a4c8de6d0cff8ba
2016-10-20T17:11:01.844+0800 I CONTROL [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
2016-10-20T17:11:01.844+0800 I CONTROL [initandlisten] allocator: tcmalloc
2016-10-20T17:11:01.844+0800 I CONTROL [initandlisten] options: { storage: { dbPath: "/data/db" } }
2016-10-20T17:11:01.860+0800 I JOURNAL [initandlisten] journal dir=/data/db\journal
2016-10-20T17:11:01.862+0800 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed
2016-10-20T17:11:01.971+0800 I JOURNAL [durability] Durability thread started
2016-10-20T17:11:01.972+0800 I JOURNAL [journal writer] Journal writer thread started
2016-10-20T17:11:02.186+0800 I INDEX [initandlisten] allocating new ns file /data/db\local.ns, filling with zeroes...
2016-10-20T17:11:02.553+0800 I STORAGE [FileAllocator] allocating new datafile /data/db\local.0, filling with zeroes...
2016-10-20T17:11:02.554+0800 I STORAGE [FileAllocator] creating directory /data/db\_tmp
2016-10-20T17:11:02.600+0800 I STORAGE [FileAllocator] done allocating datafile /data/db\local.0, size: 64MB, took 0.012 secs
2016-10-20T17:11:02.654+0800 I NETWORK [initandlisten] waiting for connections on port 27017
最后一行顯示"waiting for connections on port 27017",表明mongodb服務器已經啟動,正在27017窗口等待連接。
關于mongodb啟動成功的標志是什么就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。
網頁題目:mongodb啟動成功的標志是什么
網頁路徑:http://muchs.cn/article14/gesige.html
成都網站建設公司_創(chuàng)新互聯,為您提供搜索引擎優(yōu)化、網站設計、網站內鏈、網頁設計公司、Google、定制網站
聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯