|
Не получается подключится к pg-11
|
|||
---|---|---|---|
#18+
Установил pg-11, запустил, добавил пользователя и базу, настроил: pg_hba.conf автор# "local" is for Unix domain socket connections only local all all password # IPv4 local connections: host all all 0.0.0.0/0 md5 # IPv6 local connections: host all all ::1/128 password # Allow replication connections from localhost, by a user with the # replication privilege. local replication all password host replication all 127.0.0.1/32 password host replication all ::1/128 password postgresql.conf авторlisten_addresses = '*' port = 5432 sudo netstat -ntulp авторtcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 5960/postgres подключится с другой машины в локальной сети через pgadmin4 не могу, пишет авторcould not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "192.168.1.10" and accepting TCP/IP connections on port 5432? ... |
|||
:
Нравится:
Не нравится:
|
|||
31.03.2019, 06:51 |
|
Не получается подключится к pg-11
|
|||
---|---|---|---|
#18+
Решено (помогли в чате pg) в psql ввёл show config_file; обнаружил что файлы с настройками совсем в другом месте. Исправил там настройки. ... |
|||
:
Нравится:
Не нравится:
|
|||
31.03.2019, 10:00 |
|
|
start [/forum/topic.php?fid=53&msg=39794178&tid=1995266]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
49ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
43ms |
get tp. blocked users: |
1ms |
others: | 286ms |
total: | 423ms |
0 / 0 |