質問するログイン新規登録

質問編集履歴

1

pg_hba\.confの中身を記述

2016/07/25 08:11

投稿

javabigineer
javabigineer

スコア87

title CHANGED
File without changes
body CHANGED
@@ -4,4 +4,21 @@
4
4
 
5
5
 
6
6
  org.postgresql.util.PSQLException: FATAL: pg_hba.conf ���z�X�g"IPアドレス"�A���[�U"postgres"�A�f�[�^�x�[�X"postgres, SSL�����p���G���g��������������
7
- Exception in thread "main" java.lang.NullPointerException
7
+ Exception in thread "main" java.lang.NullPointerException
8
+
9
+ ```
10
+
11
+
12
+ # TYPE DATABASE USER ADDRESS METHOD
13
+
14
+ # IPv4 local connections:
15
+ host all all 127.0.0.1/32 trust
16
+ # IPv6 local connections:
17
+ host all all ::1/128 md5
18
+ # Allow replication connections from localhost, by a user with the
19
+ # replication privilege.
20
+ #host replication postgres 127.0.0.1/32 md5
21
+ #host replication postgres ::1/128 md5
22
+
23
+
24
+ ```