Re: Accessing Postgres db from apache using PHP

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



Bruce......

> In my php code, I have....

I always have to fool around with this to get it right, too. One thing
that helps is to get it working using psql first, you may get better error
messages.

Also you should check pg_hba.conf to make sure postgresql is allowing
connections from localhost.

brew

 ==========================================================================
                  Strange Brew   (brew@xxxxxxxxxxx)
     Check out my Musician's Online Database Exchange (The MODE Pages)
                        http://www.TheMode.com
 ==========================================================================




[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux