exception in initAndListen: NonExistentPath: Data directory /data/db not found., terminating

mongod 没找到路径

解决方案:

mkdir /data/db/ -p

或者

mongod --dbpath '/usr/bin/data/db' #更改指定运行路径

 

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2021-10-11
  • 2021-10-23
  • 2022-12-23
  • 2021-06-19
猜你喜欢
  • 2022-12-23
  • 2021-09-20
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
相关资源
相似解决方案