mongo export SyntaxError: missing ; before statement @(shell):1:14

后端 未结 1 1568
旧巷少年郎
旧巷少年郎 2021-01-13 06:45

Hi i\'m trying to export one of my mongo collection by using this comande line :

mongoexport --host 127.0.0.1 --port 3001 --db meteor --collection subs --out s

相关标签:
1条回答
  • 2021-01-13 06:54

    mongoexport must be run from your OS command shell, not in mongo shell.

    0 讨论(0)
提交回复
热议问题