티스토리 뷰
728x90
    
    
  mongosh
use admin
db.createUser({ user: "user" , pwd: "1234", roles: [ "readWrite", "dbAdmin" ] })
use metadata
db.createCollection("product")
# mongodb://user:1234@localhost:27017/metadata
Connect to a specific database by default in mongodb
I am running a mongodb on a linux box. So every time I connect to it from the console (typing mongo) I get something like this: MongoDB shell version: 2.4.9 connecting to: test And then I am doin...
stackoverflow.com
https://www.folkstalk.com/2022/09/mongodb-default-user-password-with-code-examples.html
Mongodb Default User Password With Code Examples
Mongodb Default User Password With Code Examples In this tutorial, we will try to find the solution to Mongodb Default User Password through programming. The following code illustrates this. By default mongodb has no enabled access control, so there is no
www.folkstalk.com
728x90
    
    
  '공부 (@Deprecated)' 카테고리의 다른 글
| [jenkins] pipeline (0) | 2022.12.01 | 
|---|---|
| [terraform] basic (0) | 2022.12.01 | 
| [spark] static column `df.withColumn('new_column', lit(10))` (0) | 2022.12.01 | 
| [python] locals() (0) | 2022.12.01 | 
| [python] arg_keys in method `inspect.getfullargspec({method})[0]` (0) | 2022.12.01 | 
					댓글
						
					
					
					
				
			250x250
    
    
  
										공지사항
										
								
							
								
								
									최근에 올라온 글
									
							
								
								
									최근에 달린 댓글
									
							
								
								- Total
 
- Today
 
- Yesterday
 
									TAG
									
							
								
								- 김달
 - 클루지
 - COUNT
 - 할인
 - follower
 - 테슬라 리퍼럴 코드
 - 테슬라 레퍼럴 적용 확인
 - 테슬라 레퍼럴 코드 확인
 - 연애학개론
 - 테슬라 레퍼럴
 - 책그림
 - 개리마커스
 - 테슬라 추천
 - 어떻게 능력을 보여줄 것인가?
 - 테슬라
 - 유투브
 - 모델 Y 레퍼럴
 - 메디파크 내과 전문의 의학박사 김영수
 - wlw
 - 테슬라 리퍼럴 코드 생성
 - 테슬라 리퍼럴 코드 혜택
 - Kluge
 - 테슬라 크레딧 사용
 - 팔로워 수 세기
 - 인스타그램
 - 모델y
 - 레퍼럴
 - Bot
 
| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
									글 보관함
									
							
					