MongoDB3.0 Permissions 46564141Transferred from: Http://ibruce.info/2015/03/03/mongodb3-auth/?utm_source=tuicoolMongoDB3.0 permission, nothing to say, Google Baidu out of all is wrong. Install the blind ditch first, simply can't say.First, start
About MongoDB
Mongdb is a cross-platform, document-oriented database that enables high performance, high availability, and easy scalability, and is an open source database system based on distributed file storage. In the case of high load,
About MongoDBMongoDB is a document-based non-relational database (NoSQL), for example:{"Foo":3, "greeting": "hello,world!"}and case-sensitive, key value unique, non-repeatable, documents can be nested, key-value pairs are orderedCollection1, set is
I. Creating Databases and TablesExecute MONGO in the bin directory into MongoDBBuild LibraryUse demo1 to create a database , mango syntax, using, if you currently have this database will be used,If not, create it. But it's not going to show up right
I. INTRODUCTIONMongoDB is a non-relational database (NOSQL), is a powerful, flexible, scalable data storage, because MongoDB is a document model, free and flexible, so that you can be smooth in the development process, for large data volumes, high
Brief introduction
MongoDB is a NoSQL database based on distributed file storage
Written by the C + + language, stable and high performance
Designed to deliver scalable, high-performance data storage solutions for WEB applications
A. Brief introduction???? ? MongoDB is a non-relational database (NOSQL). is a powerful, flexible, and scalable way to store data. Because MongoDB is a document model, free and flexible is very high, can make you in the development process is very
1. Configure the Yum source for MongoDB
To create a Yum source file:vim /etc/yum.repos.d/mongodb-org-3.4.repo
Add the following content:
[mongodb-org-3.4] name=MongoDB Repository
Here's a record of what MongoDB often commandsDatabase relatedCreate a databaseUse database_nameIf the database does not exist, create the database, or switch to the specified database.Delete database : Switch to the database you want to delete,
MongoDB Database Introduction
Characteristics
For collection Storage
Rich query Statements
Replication set mechanism
Support for file storage
Mode freedom
Multilevel index
Easy Horizontal
Features of MongoDB
MongoDB is a document storage database with flexible storage structure
MongoDB supports complex query operations, support sequences
MongoDB uses C + + development, can do distributed extension
MongoDB is
MongoDB is an open source database system based on distributed file storage.in the case of high load , adding more nodes can guarantee the server performanceMongoDB stores data as a document and data Structures consist of key -value (key=value)
1. Installation official: https://www.mongodb.org/dl/linux/x86_64-rhel62 Our download of MongoDB is the community version, has helped us compile well, so we do not need to compile here, We simply unzip the downloaded file and move it to the
client: connecting server: MONGO View parameters: MONGO--help exit MONGO Service: exit or Ctr + C View the database currently in use (the test database is used by default after login): Span style= "font-size:18px" > db View
View the latest version of MongoDB official:Https://www.mongodb.com/download-center#communityDownload the installation package using the wget commandwget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-3.2.6.tgzTar zxvf mongodb-linux-x86
1.mongoDB Introduction 1.1 NoSQL Database
Database: Software for efficient, regular data persistence storage
NoSQL database: Not only SQL, refers to non-relational database
Benefits: High scalability, distributed computing,
Brief introductionMongoDB is a product between a relational database and a non-relational database, and is the most versatile and most like relational database in a non-relational database. The data structure he supports is very loose and is a
The Windows platform uses a MongoDB shell to connect to a MONGODB server and create a database
command line into the bin directory of MongoDB run Mongod.exe
mongod --dbpath c:\data\dbOr find the bin directory of MongoDB and
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.