jinying8869 发表于 2016-12-2 09:50:00

关于“mongo dbpath (/data/db/) does not exist, terminating”问题

  按照mongodb的快速上手手册上操作步骤(Windows)发现启动报出异常:
  “dbpath (/data/db/) does not exist, terminating”
  

  奇怪的是我已经按手册上的步骤建立了C:\data\db,却还是报这个错。最后发现mongodb安装在哪个盘符就必须在哪个盘符上面建立data\db,手册上的这句话存在误导性:
  “Unzip the downloaded binary package to the location of your choice.”
  

  在D盘上建立data\db顺利启动service,顺利连接shell。
页: [1]
查看完整版本: 关于“mongo dbpath (/data/db/) does not exist, terminating”问题