【问题标题】:mongodb database don't export from mLab cloudmongodb 数据库不从 mLab 云导出
【发布时间】:2017-12-28 14:40:55
【问题描述】:

我尝试从 mLab 云中导出我的旧 mongodb 数据库,但它显示了 SyntaxError。请在下面查看我的查询和语法错误:

查询:mongoexport -h ds02575.mlab.com:25752 -d heroku_g2dn9rd9 -c accounts -u adam -p dino -file accounts.json

And SyntaxError: 2017-12-28T10:36:37.340+0600 E QUERY [thread1] SyntaxError: missing ;声明之前@(shell):1:15

请告诉我如何导出它,现在对我来说真的很重要

谢谢

【问题讨论】:

    标签: mongodb cloud mlab


    【解决方案1】:

    Mongoexport 应该从 system command line 运行,而不是从 mongo shell。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-01-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多