IntroductionThe MONGO Shell is a interactive JavaScript interface to MongoDB. You can use the MONGO Shell to query and update data as well as perform administrative operations.The MONGO Shell is a component of the MongoDB distributions. Once you has
In addition to the documentation in the MongoDB Manual, the MONGO Shell provides some additional information in I TS "Online" Help system. This document provides a overview of accessing this Help information.Command line HelpThe list of options and
Mongo management and mongo management toolsMongo Management
Based on ipv3.0, and 2.x versions may not be the same in some places.Install source (ubuntu)
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" |
The production environment uses the MONGO database.Long-coveted for the MONGO database, its high performance/open source/modeless/document-based database/... What a tempting feature, also occasionally tossing and playing, but did not make notes,
After successfully running MONGO, the command line mode is entered, and the test database is selected by default MONGO1. Use the DB command to print out the currently selected database:> DBTest 2. Use the show DBS command to print out a list of
Mongo client Common commands 1. database related commands 1showdbs list all databases 2usememo Use Database memo. Even if the database does not exist, it can be executed, but the database will not be created immediately. The database will be created
================================mongo Create a user and create a database ===========================1. MongoDBPs-ef | grep MongodNormal User startup modeMongod--config/etc/mongod.confAuthentication User startup
This document is based on MongoDB version 3.6.2:Recommended use of the latest versionHttps://www.mongodb.com/download-center#communityinstallation filesCluster IP and port design scheme:
Service
192.168.141.
We are always in contrast to see their strengths and weaknesses, for MongoDB is also the same, comparative learning let us as soon as possible to grasp the basic knowledge about MongoDB.
MongoDB vs. mysql command
A relational database is generally
We always see our advantages and disadvantages in the comparison, which is the same for mongodb. The comparison study allows us to master the basic knowledge about mongodb as soon as possible. Comparison between mongodb and mysql commands relational
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.