#mongdb
Explore tagged Tumblr posts
cognitiveprogrammer · 5 years ago
Video
youtube
SQL vs NoSQL - Correct Clear and Concise Explanation along with Types of NoSQL Databases
Welcome to my video on SQL Vs. NoSQL databases. In this video, I'm trying to provide a correct, clear, and concise information about both SQL and NoSQL databases and how they are different from each other. I've also cleared some of the misconception people have about SQL and NoSQL databases. Apart from this, I've also talked about Different types of NoSQL databases and how each one of them is different from  the existing one. Hope this video will help. #SQL #NoSQL #databases #software #redis #mongodb #cassandar #neo4j #dynamoDB
5 notes · View notes
cloud2help-blog · 5 years ago
Link
Tumblr media
0 notes
evaisse · 11 years ago
Link
0 notes
hengkiardo-blog · 12 years ago
Text
Start mongodb as a service OS X
Stick this file in ~/Library/LaunchAgents/org.mongodb.mongod.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>org.mongodb.mongod</string> <key>ProgramArguments</key> <array> <string>/usr/local/Cellar/mongodb/2.4.3-x86_64/bin/mongod</string> <string>run</string> <string>--config</string> <string>/usr/local/Cellar/mongodb/2.4.3-x86_64/mongod.conf</string> </array> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <false/> <key>UserName</key> <string>{your_username}</string> <key>WorkingDirectory</key> <string>/usr/local</string> <key>StandardErrorPath</key> <string>/usr/local/var/log/mongodb/output.log</string> <key>StandardOutPath</key> <string>/usr/local/var/log/mongodb/output.log</string> </dict> </plist>
Make sure to change instances of '{your_username}' to your username and any paths to be appropriate. After that
launchctl load ~/Library/LaunchAgents/org.mongodb.mongod.plist To add the file to the launchd service, and then you can run
launchctl start org.mongodb.mongod This plist is taken from Homebrew, which is a fairly useful Mac tool for getting and managing packages like MongoDB. Also, if you aren't using a mongodb config file, remove these lines:
--config /usr/local/Cellar/mongodb/2.4.3-x86_64/mongod.conf
As MongoDB will require that config file to start up. Also you can add alias to your ~/.bash_profile to start/stop mongod service
alias mongostart="launchctl start org.mongodb.mongod" alias mongostop="launchctl stop org.mongodb.mongod"
0 notes