FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Postgresql pg_hba.conf
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Postgresql pg_hba.conf [message #29307] Sat, 10 December 2005 21:42 Go to next message
gigafunk is currently offline  gigafunk   United States
Messages: 3
Registered: December 2005
Karma: 0
Junior Member
Please help a newb. I am trying to learn linux and sql at onnce and its hard on a brother. I cannot get a connection to the database in step 2 of install.php. I get
Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: l„;@p26@2 Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? in /var/www/forum/install.php on line 115

I think the problem is my pg_hba.conf could someone more expienced in db technology help me?
Re: Postgresql pg_hba.conf [message #29327 is a reply to message #29307] Tue, 13 December 2005 00:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What connection parameters did you specify during the 2nd installer page? Have you tried connecting to PostgreSQL via PHP using pg_connect function?

FUDforum Core Developer
Re: Postgresql pg_hba.conf [message #29411 is a reply to message #29327] Mon, 19 December 2005 15:17 Go to previous messageGo to next message
gigafunk is currently offline  gigafunk   United States
Messages: 3
Registered: December 2005
Karma: 0
Junior Member
I tried 127.0.0.1, as well as the true ip address on my internqal network 192.168.0.103. Dont know about pg_connect. I tried to connect with the visual tool pgaccess but it gave an Identical error message. Thats why I think my problem is in the filter file pg_hba.conf.

Thanks for the reply
Re: Postgresql pg_hba.conf [message #29415 is a reply to message #29411] Mon, 19 December 2005 16:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can't really help you with your PostgreSQL configuration, try the postgreSQL support mailing lists. You also want to make sure that your config allows TCP/IP connections.

FUDforum Core Developer
Re: Postgresql pg_hba.conf [message #29886 is a reply to message #29307] Mon, 23 January 2006 14:16 Go to previous message
pinkFloyd031 is currently offline  pinkFloyd031   Thailand
Messages: 1
Registered: January 2006
Karma: 0
Junior Member
Hi gigafunk
Please check that you create database or not?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Installation on Windows IIS Webspace?
Next Topic: I can't login after upgrade
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 00:51:16 GMT 2024

Total time taken to generate the page: 0.02029 seconds