mongodb windows下的安装
C:\>cd mongoDB\bin
C:\mongoDB\bin>mongod.exe --dbpath "c:\mongoDB\data\db" --logpath "c:\mongoDB\d ata\log\mongoDB.log"
2014-06-25T20:39:21.185+0800 2014-06-25T20:39:21.195+0800 warning: 32-bit servers don't have journaling enabl ed by default. Please use --journal if you want durability. 2014-06-25T20:39:21.195+0800 2014-06-25T20:39:21.195+0800 log file "c:\mongoDB\data\log\mongoDB.log" exists; moved to "c:\mongoDB\data\log\mongoDB.log.2014-06-25T12-39-21".
C:\mongoDB>bin\mongo
MongoDB shell version: 2.6.3 connecting to: test Server has startup warnings: 2014-06-25T21:11:41.924+0800 [initandlisten] 2014-06-25T21:11:41.924+0800 [initandlisten] ** NOTE: This is a 32 bit MongoDB binary. 2014-06-25T21:11:41.924+0800 [initandlisten] ** 32 bit builds are limited to less than 2GB of data (or less with --journal). 2014-06-25T21:11:41.925+0800 [initandlisten] ** Note that journaling defaults to off for 32 bit and is currently off. 2014-06-25T21:11:41.925+0800 [initandlisten] ** See http://dochub.mongodb.org/core/32bit 2014-06-25T21:11:41.925+0800 [initandlisten] >
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步