Connect connects to MongoDB.
If both MONGO_USER and MONGO_PASSWORD environment variables are set, the credentials are passed added to the client options.
ConnectDB connects to a specific database.
If both MONGO_USER and MONGO_PASSWORD environment variables are set, the credentials are passed added to the client options.