Professional Documents
Culture Documents
HuynhNhatNam MongoDB
HuynhNhatNam MongoDB
MONGODB
1. Cài đặt
1.1 Download
- MongoDB Community Server:
https://www.mongodb.com/try/download/community
- MongoDB Shell: https://www.mongodb.com/try/download/shell
1.2 Install MongoDBCompass
1.3 Cài đặt thành công
1.4 Kết nối và quản lý mongoDB server
- Kết nối với mongoDB server:
Nhấn connect để kết nối mongodb://localhost:27017
- Kết quả:
Giao diện chính mongoDB Compass với localhost:27017
1.5 Tạo database trên mongoDB compass
Nhấn nút icon dấu “+” bên phải chữ “Databases”, hộp thoại “Create Database”
được mở ra
Nhập tên database
Nhập tên collection
Create Database