win 7 64 安装 MondgoDB 3.4
2017-09-04 20:04
127 查看
https://jingyan.baidu.com/article/f3e34a12ac10cef5eb653583.html
mongod --dbpath "D:\Program Files\MongoDB\Server\3.4\db" --logpath "D:\Program Files\MongoDB\Server\3.4\logs\MongoDB.log" --install --serviceName "MongoDB"
当服务已经安装成功,运行
(开启服务)
>NET START MongoDB
(关闭服务)
>NET stop MongoDB
启动程序开启后,再运行mongo.exe 程序,输入以下指令进行测试:
(往foo表插入a,1字段值,foo表为默认表)
>db.foo.insert({a:1})
(查看foo表数据)
>db.foo.find()
mongod --dbpath "D:\Program Files\MongoDB\Server\3.4\db" --logpath "D:\Program Files\MongoDB\Server\3.4\logs\MongoDB.log" --install --serviceName "MongoDB"
当服务已经安装成功,运行
(开启服务)
>NET START MongoDB
(关闭服务)
>NET stop MongoDB
启动程序开启后,再运行mongo.exe 程序,输入以下指令进行测试:
(往foo表插入a,1字段值,foo表为默认表)
>db.foo.insert({a:1})
(查看foo表数据)
>db.foo.find()
相关文章推荐
- win64+python3.4+Numpy.whl的安装
- Win/Osx下安装xgboost (win10 64 / Osx 10.11)
- win7下硬盘安装Linux(Fedora17,CentOS 6.2,Ubuntu 12.04,LinuxMint 13 64-bit)
- mysql学习(1):win_64位下载,安装,配置mysql-5-winx64详细步骤
- win 8.1_64 安装usb 转串口驱动
- WIN7下硬盘安装Centos 6.4 X86_64版记录
- 解决 win 7 64 位 vs2010 调试silverlight项目无法加载,提示更新developer ,跟新报 消息 ID: 1517 已安装了 Silverlight 的 64 位版本
- Win7 64 安装 MongoDB3.4
- win7下mysql-5.7.17-winx64免安装配置
- win 安装mysql-5.7.16-winx64 服务记录
- win 7 64 安装 tensorflow
- 关于dynamips win 7(64)下的 安装
- win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': N
- Win 7 64 位旗舰版安装WAS 7
- PHP 5.3.13 memcache win 64 配置和安装
- win 7 64 mysql 5.6.4 安装
- (一)Windows下tensorflow安装 win64+Python3.5
- node.js win 64 安装配置步骤
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:3.安装Oracle RAC-3.4.安装Grid Infrastructure
- win7 64 安装mysql-python:fatal error C1083: Cannot open include file: 'config-win.h': No such file or