user2853838
user2853838

Reputation: 33

Error regarding the execution of mongoexport

When I'm typing mongoexport in my mongoshell, it is showing the following error,

mongoexport

Fri Nov 22 10:07:18.614 ReferenceError: mongoexport is not defined.

Please help me in this issue?

Upvotes: 3

Views: 4450

Answers (1)

Karthik Sagar
Karthik Sagar

Reputation: 444

This is for windows machine

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

Go to command prompt : ( cd C:\Program Files\MongoDB\Server\3.4\bin ) for x64 machine

mongoexport --help

Upvotes: 3

Related Questions