質問編集履歴
2
ソース追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -107,3 +107,67 @@
|
|
107
107
|
|
108
108
|
|
109
109
|
解決策をご教示いただけると助かります。
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
【追記】
|
116
|
+
|
117
|
+
`/var/lib/pgsql/9.0/data/pg_hba.conf`を以下のように修正しましたがどちらもログイン不可でした。
|
118
|
+
|
119
|
+
```
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
# TYPE DATABASE USER CIDR-ADDRESS METHOD
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
# "local" is for Unix domain socket connections only
|
130
|
+
|
131
|
+
local all all trust
|
132
|
+
|
133
|
+
# IPv4 local connections:
|
134
|
+
|
135
|
+
host all all 127.0.0.1/32 trust
|
136
|
+
|
137
|
+
host all all 192.168.1.0/24 trust
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
# IPv6 local connections:
|
142
|
+
|
143
|
+
host all all ::1/128 trust
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
````
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
# TYPE DATABASE USER CIDR-ADDRESS METHOD
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
# "local" is for Unix domain socket connections only
|
158
|
+
|
159
|
+
local all all trust
|
160
|
+
|
161
|
+
# IPv4 local connections:
|
162
|
+
|
163
|
+
host all all 127.0.0.1 255.255.255.255 trust
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
# IPv6 local connections:
|
168
|
+
|
169
|
+
host all all ::1/128 trust
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
```
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
■環境
|
2
2
|
|
3
|
-
Cent
|
3
|
+
CentOS 6.4
|
4
4
|
|
5
5
|
PostgreSQL 9.0
|
6
6
|
|