Search Postgresql Archives

Re: I get a error msg when i try to connect to the DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-08-16 at 21:16 +0530, Rajaram J wrote:
> Hi 
> 
> I have installed PostGRESql 7.4.17 and when i try to connect to the db
> i get the msg
> 
> psql: FATAL: no pg_hba.conf entry for host "???", user "sfmdb",
> database "LOGDB", SSL off
> 
You are allowing local, non TCP/IP connctions, and connections through
the loop back, but you are not allowing remote conncetions.  You need an
entry of some form that is 

host all all ??? 255.255.255.255 trust

btw, trust is usually bad, you should use some form of authentication.

> My pg_hba.conf entry is as below
> 
>  
> 
> # TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK
> METHOD
> 
> # Disable default configuration
> 
> local   all         all
> trust
> # IPv4-style local connections:
> host    all         all         127.0.0.1         255.255.255.255
> trust
> # IPv6-style local connections:
> host    all         all         ::1
> ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff        trust
> 
> 
> can you please guide me on what the problem might be.
> 
> Regards
> 
> Rajaram
> 
> 
-- 
Brad Nicholson  416-673-4106
Database Administrator, Afilias Canada Corp.


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux