But the command is available only in the binary folder of the MongoDB folder installation. Just by typing the ‘mongo’ command, the command will direct it to the MongoDB shell. The above image is displaying the actual process for executing the MongoDB shell. In order to access the MongoDB shell, just type ‘mongo’ as follows : The reason is because the command prompt is running with the Administrator account privilege. The above Windows Command Prompt appear in the ‘C:\Windows\system32’ as the current working directory.So, the command prompt will appear as follows : Just click it, or right click at the Command Prompt and then select the Run as administrator.Type ‘command’ in that field above as follows :.How to Access MongoDB Shell in Microsoft Windows Start by executing it through the field ‘Type here to search’ as in the image as follow : So, in order to access the MongoDB shell, just access the Windows Command Prompt Console. The following are the steps to access the MongoDB shell :ġ.
0 Comments
Leave a Reply. |