扫码关注官方订阅号
用npm安装mongodb然后就可以启动mongodb服务吗
业精于勤,荒于嬉;行成于思,毁于随。
mongod --dbpath "D:\web\mongodb\data"换哈路径哈
是的,mongodb的运行配置非常少,可以直接通过命令行参数完成所有运行配置,也可以通过配置文件进行配置。
Nope, You should install Mongodb.msi from official website first. Then Install it. so you can use mongo no matter from shell or node.js.
Install Mongodb via NPM just install the driver that Mongo Need, so you can use Node.js to control it.
This is the mongodb guide for beginner.http://mongodb.github.io/node...
I hope this will helps you.
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
mongod --dbpath "D:\web\mongodb\data"
换哈路径哈
是的,mongodb的运行配置非常少,可以直接通过命令行参数完成所有运行配置,也可以通过配置文件进行配置。
Nope, You should install Mongodb.msi from official website first. Then Install it. so you can use mongo no matter from shell or node.js.
Install Mongodb via NPM just install the driver that Mongo Need, so you can use Node.js to control it.
This is the mongodb guide for beginner.
http://mongodb.github.io/node...
I hope this will helps you.