What does “too many positional options” mean when doing a mongoexport?

后端 未结 14 1690
暖寄归人
暖寄归人 2020-12-05 09:27

mongoexport -h db.mysite.com -u myUser -p myPass -c myCollection

But the response I get is:

ERROR: too many positional options

14条回答
  •  余生分开走
    2020-12-05 10:04

    The same error I have encountered while importing a csv file. But its just, the fact that the field list which you pass for that csv file import may have blank spaces. Just clear the blank spaces in field list.

    Its the parsing error.

提交回复
热议问题