推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
Just1n
V2EX  ›  MongoDB

mongo.exe 系统找不到指定路径

  •  
  •   Just1n · Feb 13, 2014 · 4240 views
    This topic created in 4481 days ago, the information mentioned may be changed or developed.
    windows8.1环境。
    第一次运行mongo.exe时,会在我的文档里生成一个.mongorc.js文件。
    关掉mongo.exe后再次运行,就会报“系统找不到指定路径”这样的错误。
    如果删掉.mongorc.js文件,就一切正常。当然,加一个--norc参数也可以。
    我的用户名是中文,我初步怀疑是这个原因。

    看了下官方文档
    --norc
    Prevents the shell from sourcing and evaluating ~/.mongorc.js on start up.

    没太看明白,.mongorc.js这个文件是干嘛用的?这个错误怎么破?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   958 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:18 · PVG 06:18 · LAX 15:18 · JFK 18:18
    ♥ Do have faith in what you're doing.