MoongoDB数据库启动报错'exception in initAndListen: NonExistentPath: Data directory /data/db not found., terminating'
时间:2019-03-17 16:52:34
收藏:0
阅读:1829
exception in initAndListen: NonExistentPath: Data directory /data/db not found., terminating
mongod 没找到路径
解决方案:
mkdir /data/db/ -p
或者
mongod --dbpath ‘/usr/bin/data/db‘ #更改指定运行路径
原文:https://www.cnblogs.com/0n-the-way/p/10547581.html
评论(0)