connect to a db in mongo shell code example Example: connect to mongo database mongoose.connect(mongoURI);