Drop database
by sij /
Display all databases
> show dbs
admin 0.000GB
config 0.000GB
local 0.000GB
onews 0.001GB
Connect with the db to delete
use onews
Delete the db
db.dropDatabase()
Verify the result
> show dbs
admin 0.000GB
config 0.000GB
local 0.000GB