Connect to mongo
$ mongo
What db am I in?
> db
What dbs do I have?
> show dbs
Switch into a db
> use dbToSwitchTo
Create a new db
> use nameOfNewDb
The db won't be permanent until data is added to a collection inside of it
What collections do I have?
> show collections
Create and add data to a collection
> db.firstCollection.insertOne({x:1});
db is a variable representing the current db I am in
To be continued.. db.createCollection(name, {size: ..., capped: ..., max: ...})
db.createUser({ user: "nameOfUser",
pwd: "pwOfUser",
roles: [{ role: "readAnyDatabase", db: "admin" }, "readWrite"]
});