Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeMidnight
Connect to the mongo shell on the new VMC:\Users>mongo --authenticationDatabase admin -u bvq -p P@ssw0rd


show the db´s


> show dbs
admin 0.000GB
bvq 43.815GB
config 0.000GB
local 0.000GB
---------------------------------------------------------------------------


switch to the db, you would like to delete


> use bvq
switched to db bvq
delete db>
---------------------------------------------------------------------------


delete db

> db.dropDatabase()
{ "ok" : 1 }
---------------------------------------------------------------------------


show the db´s

> show dbs
admin 0.000GB
config 0.000GB
local 0.000GB

...