MongoDB uses the basic--installation

Source: Internet
Author: User
Tags create mongodb management studio mysql gui

Version is: Mongodb 3.2.1

Would like to use Python to do a reptile and then crawl some data to put on the database, think that NoSQL will be very popular, the use of MongoDB, the result, a toss is not easy.

  The first problem encountered: official web download and install what will not say. After encountering the MongoDB flashback problem, no reason, Baidu to find information directly to do, the MongoDB as a service to open the command: Mongod.exe--bind_ip IP address--logpath "D:\data\dbConf\mongodb.log "--logappend--dbpath" D:\data\db "--port port number--servicename" Yourservicename "--servicedisplayname" Yourservicename "-- Install

As a result, GG, the problem of flashback is a real problem, and then finally found the data solved:

  

Remember, when using MongoDB 3.2.1, don't listen to previous versions of the recommendation (create data in the MongoDB directory), and then the flashback problem is resolved. Open the Mongod.exe in the bin directory is to open the database, click Mongo.exe is the operation and management of MongoDB interactive environment.

  Second question:

Create user Connection database: Db.adduser ("root", "root") This command is an error, and is estimated to be the previous version;

The right way to create MongoDB users:

  

After that, check the user:

Db.auth ("root", "root") enter as root user

Used to the MSSQL and MySQL GUI, and then looked for information to find MongoDB Management Studio This graphics software, the results, hehe, what ghost?

Then no then, the use of this thing online almost no, bite the bullet to the official website to see if there is no document (brother English really not confident), saw this:

This page is linked here: Https://wiki.litixsoft.de/display/MMS/Connect+to+server

The rest is almost like the rest.

OK, then the Python and the database code to stick out!!! (^ω^) Refueling

MongoDB uses the basic--installation

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.