第一次启动 mongodb 出现 shutting down with code:100错误 唯一成功解决方案并启动
2020-05-10 04:13
1376 查看
在安装好这个数据库并配好环境变量后出现错误
shutting down with code:100
看图中框住部分,mongodb的默认存储位置在c:/data/db,所以我们需要建立一个文件夹
在cmd中直接输入
mkdir C:\data\db
再次运行
mongod
mongod表示启动服务器,数据存储在服务器中,出现
waiting for connections on port 27017
表示安装成功,这个端口是默认的mongodb端口
然后别动他,再次打开一个新的cmd,
输入
mongo
这是启动客户端的命令,客户端是操作数据的
即可进入数据库中
相关文章推荐
- MongoDB安装错误:shutting down with code:100
- MongoDB——shutting down with code:100
- mongoDB: shutting down with code:100
- photon server 启动出现Service shutting down: with Exception. Errorcode: 5 错误
- 关于python脚本里面加入中文注释后,编译成功后调用程序后却出现进程shutting down processing的错误
- 启动Docker 出现Job for docker.service failed because the control process exited with error code. See "错误
- Mac下安装mongoldb 报错 shutting down with code:100
- Android开发之 adb 启动问题或是部署应用不成功,出现“The connection to adb is down, and a severe error has occured.”错误
- MongoDB错误2_启动mongodb时遇到child process failed,existed with error number 100错误
- mongoDB启动报错 ERROR: child process failed, exited with error number 上面这个错误是今天下午发现,从github down下一个应用,在应
- vps中docker启动出现错误Job for docker.service failed because the control process exited with error code. Se
- vs2010出现如下错误: VCEnd" exited with code 1.
- 出现( linker command failed with exit code 1)错误总结
- 出现( linker command failed with exit code 1)错误总结
- 关于出现( linker command failed with exit code 1)错误总结
- 出现 (linker command failed with exit code 1) 错误总结
- 关于phonegap 安装出现 cmd :command failed with exit code 8错误的解决方法。
- android 7.0 编译时出现Try increasing heap size with java option '-Xmx<size>'错误解决方案
- StarUML启动时候出现"System Error. Code:1722. RPC服务器不可用."错误的解决办法
- Linux 环境下eclipse启动出现错误:jvm terminated. exit code=13