The installation
windows
After the installation is complete, locate the data directory under the installation directory and create a folder named db in the data directory
Open the cmd command line, move the directory to the bin directory under the MongoDB installation directory, and enter the command
mongod --dbpath <dblocations>
mongod --dbpath D:\MongoDB\data\db
Open your browser and enter the address
http://localhost:27017
The following is a success
It looks like you are trying to access MongoDB over HTTP on the native driver port.
Open the service
Go to the bin directory under the installation directory
perform
-> mongod *--dbpath D:\MongoDB\data\db*
-> mongo or mongo --host=127.0.0.1 --port=27017
-> show databases; //If you see the database information, it is successful
Read More:
- How to Install MongoDB Community Edition Manually on mac and linux
- How to Install PSSH in Centos7
- How to install PIL in Python 3
- How To Install WordPress with LAMP on Ubuntu 16.04
- How to Revert Your File & Folder by “FOUND.000”
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- How to Install FFmpeg on Linux
- Ubuntu14.04 installation error: no such partition
- How To Install Java with Apt-Get on Ubuntu 16.04
- How to uninstall Maya on a Mac
- Homebrew installation strategy of M1 MAC based on ARM architecture
- How to Set latex text Bold & Italic
- Ubuntu install psycopg2 times: fatal error: libpq Fe. H: there is no solution to that file or directory
- Raspberry PI install VIM editor
- Solution to the problem of installing Tkinter module in MAC
- Automatic installation of NVIDIA 3090 video card driver
- Bid for Kirin (Linux kernel) 7.0 compiler and installation sdl2.0 and QT using sdl2
- Mac: How to Install homebrew, nginx, PHP and MySQL
- Clion installing glfw_Using clion to configure Vulkan development environment on MacOS
- How to set font color in Latex (3 ways)