Starting a MongoDB local connection in macOS
ยท One min read
Following command starts the MongoDB server:
/Users/<username>/mongodb/bin/mongod --dbpath=/Users/<username>/mongodb-data
Following command starts the MongoDB server:
/Users/<username>/mongodb/bin/mongod --dbpath=/Users/<username>/mongodb-data