I want to run the mongo4idea plugin for IntelliJ.
It asks for the mongo executable.
I just installed Meteor.
Where is the mongo file in OSX?
Or do I have to install Mongo DB seperately?
it's under
~/.meteor/packages/meteor-tools/.<meteor-version-hash>++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/mongodb/bin/
and is called mongod
Related
Installed MongoDB Community Edition version 3.6 (because my work project requires that version). I am for some reason unable to run the MongoDB shell, so when trying to run mongo or mongod from the terminal I just get -bash: mongod: command not found. When checking which Brew services are running with brew services list, mongodb-community#3.6 is listed. The application I'm working on also utilises MongoDB succesfully. My main issue is that I can't access the MongoDB shell.
The solution to my problem was that I was supposed to install the shell separately with brew. This was not the case with previous MongoDB versions and it is not mentioned in the official MongoDB documentation.
Is mongorestore.exe file present in mongo 4.4 community edition? If not, how is the restoration done in mongo 4.4?
As mentioned here, its moved under tools.
MONGORESTORE DOCUMENTATION MIGRATED TO MONGODB DATABASE TOOLS
Starting in MongoDB 4.4, the documentation for mongorestore has migrated to:
https://docs.mongodb.com/database-tools/mongorestore
You can install separately.
I just installed mongoDB v3.4 on my mac using homebrew however when I run mongod from terminal it still run the old v2.6 mongoDB. What do I need to do to fix this?
I had to run
brew link --overwrite mongodb
I'm a newbie to meteor and mongodb. I just want to know how to check mongodb version in my meteor project. When i check it on using robomongo it shows 2.6.7. Can there be two versions of mongodb in local machine and meteor project? And when update into meteor 1.3 does meteor update mongodb version automatically?
With your meteor application running in one terminal, open a separate terminal, change into the project directory, run the following from the command prompt:
meteor mongo
I have a mongodb standalone instance in my ubuntu. According to official docs I replace mongod binary then I restarted mongodb using sudo service mongodb restart command, and restarted mongod binary also. Then when I check version using mongo --version. It's still 2.4.10. But when I check mongod version it's 2.6.1. Is it okay? I installed mongodb in my local machine using this guide. If it correct then I will upgrade my production server.
It sounds like you have upgraded your mongod server to 2.6.1 but still have an older version of the mongo shell in your path.
Technically that isn't a major issue for most usage as the older 2.4 shell can still connect and run common commands.
However, there are 2.6-specific shell helpers & features you'll be missing out on such as Bulk() operations and user management commands with user-defined roles.
If you have an open mongo shell, you can check the versions of both the mongo client and the mongod server you are connected to.
Ideally the major versions should match, eg:
> version() // Version of the `mongo` shell
2.6.1
> db.version() // Version of the `mongod` server this shell has connected to
2.6.1
The upgrade guide you have followed is assuming you are not using the packaged versions of MongoDB -- the guidance here could definitely be improved.
A better (and typical) approach for Ubuntu is to install MongoDB using the standard packages: Install MongoDB on Ubuntu. This would allow you to get software updates via the normal apt-get update process.
Yes. It's okay. The 2.6.1 version is a small update with bugfixes after version 2.6. But it's still the same major version.