MongoDB让人恶心的配置 dbpath、logpath必须指定到硬盘的根目录: dbpath=D:datadblogpath=D:datalogMongodb.log 不然启动时会报没有设置dbpath的错误