티스토리 뷰

 

 

 

 

1. 설치

1.1 Window 

https://www.mongodb.com/download-center/community

 

Download Center: Community Server

Download MongoDB Community Server, the most popular non-relational database built to address the needs of modern applications.

www.mongodb.com

 

 

 

 

2. 설치 완료 후 해야 할 작업 

1. C:\data\db 폴더를 만든다 

 

 

2. cmd 실행

 

$ cd C:\Program Files\MongoDB\Server\4.2\bin
$ mongod

 

 

3. 다른 console창 켜기

$ cd C:\Program Files\MongoDB\Server\4.2\bin
$ mongo
$ use admin 
$ db.createUser({user:'name',pwd:'password',roles:['root']})

 

 

 

 

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG more
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함