Brew install mongodb-community@5.0

Hi, everyone.

I’m learning mongodb for web designing. As you see in the picture, I installed mongodb@5.0 properly and it seems to work well.

In the picture below, when I wrote “mongod” in terminal, it doesn’t work.

Do you have any suggestions for my problem?

Note : I have mac-Ventura and I installed mongodb for using homebrew.

Hi @OZGUN_TEKSOY,
To start the instance, as mentioned from the documentation, you Need to follow this step:

“To run MongoDB (i.e. the mongod process) manually as a background process, run:”
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/#:~:text=To%20run%20MongoDB%20(i.e.%20the%20mongod%20process)%20manually%20as%20a%20background%20process%2C%20run%3A

Regards

Your service is already up.No need to run mongod again
Just run mongosh and see if you can connect
mongod not found could be path issue
Ideally command should have worked to bring up default mongod

1 Like

thank you @Ramachandra_Tummala . I’m trying to learn for watching a video belong to 2018. I guess, there are important differences between 2018 mongodb and 2023 mongodb