Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- docker
- 서울시민카드
- PostgreSQL
- bash
- rsyslog
- 파이썬
- log
- Linux
- C
- JSON
- centos 7.5
- Python
- Elk
- RHEL
- 빅데이터
- Chrome
- zabbix
- CentOS
- GPU
- audit
- K8S
- Kubernetes
- Audit Log
- 디렉토리
- GNOME
- yum
- Shell
- syslog
- 크롬
- Elasticsearch
Archives
- Today
- Total
목록postgresql 접속 (1)
Sysops Notepad
Centos 7 postgresql 접속 오류시 조치 방법
처음 postgresql 구성간 아래와 같은 에러 메세지가 나올 경우....psycopg2.OperationalError: FATAL: Ident authentication failed for user "test".... psql: FATAL: Peer authentication failed for user "test" [root] # vi /var/lib/pgsql/10/data/pg_hba.conf 위 경로 들어가 상황에 맞게 METHOD 부분의 ident를 MD5 or trust로 변경해 준다. # IPv4 local connections:host all all 127.0.0.1/32 md5 [root] # systemctl restart postgresql-10 접속 성공~
업무/sys
2018. 7. 8. 01:05