본문 바로가기

STACKBASE

검색하기
STACKBASE
프로필사진 잡뿌

  • 분류 전체보기 (35)
    • 회고 (0)
    • 프로그래밍 (14)
      • Python (9)
      • Django (5)
    • 데브옵스 (0)
    • 클라우드 (4)
      • AWS (4)
      • AZURE (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
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 29 30
31
Tags
  • json
  • devops
  • git
  • Spark
  • MongoDB
  • pyspark
  • mcponaws
  • Eclipse
  • VPC
  • list
  • amazon q
  • Python
  • AWS
  • ai assistant
  • debug_toolbar
  • debug toolbar
  • nosql
  • AI
  • django
  • SCALA APP
  • Transit Gateway
  • django-debug-toolbar
  • tgw
  • AWSKRUG
  • coding with ai
  • Amazon
  • 툴바안뜸
  • ubuntu
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록nosql (1)

STACKBASE

mongodb 사용법

1. 'root' 권한 유저 생성 # admin 데이터베이스 선택 use admin db.createUser({user:'root', pwd:'password', roles:['root'] 2. mongodb 로그인 mongo -u 'username' -p 'password123' --authenticationDatase 'admin' 3. DB/Collection 생성 use createdatabse # 데이터베이스 확인 show dbs # collection 생성 db.createCollection("collectionName") # collection 확인 show collection db.collection_name.stats() # collection capped 설정하여 collection 생..

카테고리 없음 2021. 10. 11. 21:17
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바