Search Postgresql Archives

Re: cant connect php to postgresql

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

 



On Wed, 2006-12-06 at 01:17, swati desai wrote:
> i am trying to connect php to postgresql but im getting warning FATAL:
> IDENT authentication failed... for user and  pg_connect("dbname=swati
> user=xyz password=abc");
> 
> and hence cant work
> plz tell me wat is d problem 

Your pg_hba.conf file isn't setup how you need it to be.  Take a look
here:

http://www.postgresql.org/docs/8.2/interactive/auth-pg-hba-conf.html

and see about changing your method from ident to something like md5 or
trust, depending on your situation.


[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