mongo create database delete database code example Example: drop database mongodb command line mongo <dbname> --eval "db.dropDatabase()"