Specifying path of data directory

Thanks @Doug_Duncan.
My metric for success used to be when I typed in mongod it would get everything running.
My Mac did an update to Catalina and it changed where the data/db directory was stored.

I’ve moved it to home. So my mongod --dbpath ~/data/db was trying to reset where mongodb reads it (what the stack overflow article suggested).