티스토리 뷰
728x90
반응형
docker run -d -p 5432:5432\
--name postgres\
-e POSTGRES_PASSWORD={비밀번호}
postgres
이렇게 해서 datagrip에 postgres를 연결하려고 했더니 안됨
postgres는 기본으로 root 계정이 postgres 이어서 datagrip에 연결했더니 아래와 같은 오류가 났음
The specified database user/password combination is rejected: [28P01] FATAL: password authentication failed for user "postgres"
그래서 계정 하나 만들고 연결하니까 잘되었음..
docker exec -it postgres bash
postgres=# create user postgres password 'fhEh1emd!!' superuser;
postgres=# \du
도움
https://hub.docker.com/_/postgres
Postgres - Official Image | Docker Hub
We and third parties use cookies or similar technologies ("Cookies") as described below to collect and process personal data, such as your IP address or browser information. You can learn more about how this site uses Cookies by reading our privacy policy
hub.docker.com
728x90
반응형
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- window
- LocalDate
- 북리뷰
- rocky
- input
- mybatis config
- docker
- Mac
- 베리 심플
- Spring Security
- localtime
- maven
- 오라클
- jQuery
- intellij
- mybatis
- Spring
- claude
- config-location
- svn
- elasticsearch
- k8s
- Bash tab
- Java
- springboot
- Linux
- LocalDateTime
- Kotlin
- JavaScript
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함
반응형