Приветствую.
Ставлю D7 с БД pgsql на vds под FreeBSD 8 - на шаге Set up database выдает ошибку:
Failed to connect to your database server. The server reports the following message: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "d7", database "d7", SSL off.
нагуглил, что в pg_hba.conf нужно добавить строку
host all all 127.0.0.1 trust (или md5)
добавил, ребутнул - новая ошибка:
Failed to connect to your database server. The server reports the following message: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?.
Вот содержимое pg_hba.conf до:
local template1 pgsql password
host template1 pgsql 0.0.0.0 0.0.0.0 password
local all pgsql password
local d7 d7 password
local pge2e4 pge2e4 password
и после:
local template1 pgsql password
host template1 pgsql 0.0.0.0 0.0.0.0 password
local all pgsql password
local d7 d7 password
local pge2e4 pge2e4 password
host all all 127.0.0.1 trust
чего ему не хватает?
(про баги в ДНК - в курсе, я действительно аццкий чайнег 
upd.
надо было прописать
host имяБД имяПользователя ::1/128 password