Set mongodb data directory to be stored in the user folder rather than root
mongod --dbpath ~/data/db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mongod --dbpath ~/data/db |