Skip to content

Instantly share code, notes, and snippets.

@stengland
Last active December 10, 2015 20:08
Show Gist options
  • Select an option

  • Save stengland/4485669 to your computer and use it in GitHub Desktop.

Select an option

Save stengland/4485669 to your computer and use it in GitHub Desktop.
Quick way to drop a Mongo database from shell.
mongo <dbname> --eval "db.dropDatabase()"
@stengland

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment