OS: Mac OSX 10.14.6
After following the course’s instructions failthfully, I like many, get the following:
When I try
I do have a .mongorc.js file and my permissions are:
I also tried opening a new terminal and tried
and that results in no change. I’ve checked other posts and stack overflow and I’m stuck. Please Help. Thanks!
in a new terminal I enter:
mongo --nodb --norc
and I the Mongo shell opens, but doesn’t show any db’s. What do I do about the mongorc.js file, delete it or keep it? What can I do to get it to connect with just mongo? What are the things I need to fix? I don’t know if this result is correct and I should have or not have dbs.
I deleted the .mongorc.js file:
sudo rm .mongorc.js
and now when I run
I think I am on the right track, is there anything else that seems incorrect or am I set?