|
|
|
pg_hba.conf entry for host user postgres database postgres ssl off ------------ HELP !!!
|
|||
|---|---|---|---|
|
#18+
Салют народ. Подскажите если не в напряг! Я перестанавливал OS арендуемого VPS и после не могу настроить соединение через pgAdmin3 1.20 ( с прошлыми версиями тоже самое ) к PostgreSQL соответственно. Ковырялся с файлами: "postgresql.conf" и "pg_hba.conf" . Что не делал ошибка одна. ( как на принтскрине ) Содержание файла "postgresql.conf": listen_addresses = '*' # what IP address(es) to listen on; # comma-separated list of addresses; # defaults to 'localhost'; use '*' for all # (change requires restart) port = 5432 # (change requires restart) max_connections = 100 # (change requires restart) Содержание файла "pg_hba.conf": # TYPE DATABASE USER ADDRESS METHOD #host all all 0.0.0.0/0 password # IPv4 local connections: local all all trust # peer host all all 0.0.0.0/0 md5 # IPv6 local connections: local all all trust # peer host all all 0.0.0.0/0 md5 #host replication postgres 127.0.0.1/32 ident #host replication postgres ::1/128 ident ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.05.2015, 13:06 |
|
||
|
pg_hba.conf entry for host user postgres database postgres ssl off ------------ HELP !!!
|
|||
|---|---|---|---|
|
#18+
Ofigenski, в сообщении об ошибке написано же все. пытаетесь подключиться по ipv6, а разрешений не прописано для него не прописано. замените localhost на 127.0.0.1 или пропишите в pg_hba разрешение для ::1/128. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.05.2015, 13:30 |
|
||
|
pg_hba.conf entry for host user postgres database postgres ssl off ------------ HELP !!!
|
|||
|---|---|---|---|
|
#18+
AlexiusOfigenski, в сообщении об ошибке написано же все. пытаетесь подключиться по ipv6, а разрешений не прописано для него не прописано. замените localhost на 127.0.0.1 или пропишите в pg_hba разрешение для ::1/128. Так: # TYPE DATABASE USER ADDRESS METHOD # IPv4 local connections: local all all trust # peer host all all 0.0.0.0/0 md5 # IPv6 local connections: local all all trust # peer host all all ::1/128 md5 ДА?? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.05.2015, 14:14 |
|
||
|
|

start [/forum/topic.php?fid=53&tid=1998001]: |
0ms |
get settings: |
10ms |
get forum list: |
22ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
57ms |
get topic data: |
14ms |
get forum data: |
4ms |
get page messages: |
49ms |
get tp. blocked users: |
2ms |
| others: | 252ms |
| total: | 418ms |

| 0 / 0 |
