Martin A. Marques writes:
> local all trust
> host all 127.0.0.1 255.255.255.255 password
> host all 168.96.132.31 255.255.255.0 password
> host all 170.210.8.31 255.255.255.0 password
>
> What do you people hear think of this? I'm consurned about the local enterie,
> but when I put password instead of trust, I can't login with PHP to the
> database.
Apparently, your PHP application connects through the 'local' (Unix domain
socket) connection. That means the 'host' entries are irrelevant. Of
course if you set the authentication method to 'password' and don't
actually provide a (correct) password then things aren't going to work.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/