Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

start mongodb in terminal

Start a terminal for your mongo server
Go to <mongodb-install-directory>/bin directory
Run the command./mongod
Start a terminal for your mongo shell
Go to <mongodb-install-directory>/bin directory
Run the command (make sure you put the name of the database)./mongo test
 
PREVIOUS NEXT
Tagged: #start #mongodb #terminal
ADD COMMENT
Topic
Name
8+6 =