Postgresql pg_hba.conf [message #29307] |
Sat, 10 December 2005 21:42 |
gigafunk
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 |
Ilia
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 #29415 is a reply to message #29411] |
Mon, 19 December 2005 16:44 |
Ilia
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
|
|
|
|