mongodb windows10连接失败

时间:2016-06-06 10:38:51

标签: node.js mongodb database-connection mean-stack

我已经安装了mongodb并且运行了正确的R& D来像创建C:\ data这样的文件夹并在mongodb的环境变量中设置路径。

每当我尝试连接mongodb时,我都会收到以下错误:

mongo command error screen

mongod command error screen

由于连接问题,无法在shell中运行mongo命令。

已经尝试过黑客攻击:

Reference link 1

Reference link 2

Reference link 3

Reference link 4

寻找当前的情景帮助。

请建议任何帮助。提前谢谢。

1 个答案:

答案 0 :(得分:0)

在C:\ data中创建另一个名为db的文件夹。它现在应该可以正常工作。