pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
phpPgAdmin 2.4.2
3+ messages / 3 participants
[nested] [flat]

* phpPgAdmin 2.4.2
@ 2003-07-16 08:47  Salah Abdulla <salah@ilisys.com.au>
  0 siblings, 2 replies; 3+ messages in thread

From: Salah Abdulla @ 2003-07-16 08:47 UTC (permalink / raw)
  To: pgsql-php

Installed postgreql 7.3.3 and phpPgAdmin 2.4.2 in different machines. Defined password for postgres superuser. Entry is created in the pg_shadow table for the same user. Keeping the access method in pg_hba.conf file as "trust", I do not have any problem. However when changed the access method to "password"  and tried managing the database using the phpPgAdmin tool I get 

Error - /var/www/pgadmin.intranet/htdocs/lib.inc.php -- Line: 303 
PostgreSQL said: 
Your query: 
Unable to connect with settings: host=host_name' port='post_num' dbname='template1' user='user_id' password='xxxxx' 

The pg_hpa.conf file has an entry
"host    all         all         ip_address  ip_mask   password"

Any idea why this is happening.

Regards,
Salah

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: phpPgAdmin 2.4.2
@ 2003-07-16 20:07  Robert Treat <xzilla@users.sourceforge.net>
  parent: Salah Abdulla <salah@ilisys.com.au>
  1 sibling, 0 replies; 3+ messages in thread

From: Robert Treat @ 2003-07-16 20:07 UTC (permalink / raw)
  To: Salah Abdulla <salah@ilisys.com.au>; +Cc: pgsql-php

2.4.2 doesn't support 7.3, go get phppgadmin 3.0.

Thats not your problem, but you're not going to get too far until you
switch to 3.0.  Check your postgresql log for a FATAL message when you
try and connect, it should give a little better explanation of what went
wrong.

Robert Treat

On Wed, 2003-07-16 at 04:47, Salah Abdulla wrote:
> Installed postgreql 7.3.3 and phpPgAdmin 2.4.2 in different machines.
> Defined password for postgres superuser. Entry is created in the
> pg_shadow table for the same user. Keeping the access method in
> pg_hba.conf file as "trust", I do not have any problem. However when
> changed the access method to "password"  and tried managing the database
> using the phpPgAdmin tool I get 
>  
> Error - /var/www/pgadmin.intranet/htdocs/lib.inc.php -- Line: 303 
> PostgreSQL said: 
> Your query: 
> Unable to connect with settings: host=host_name' port='post_num'
> dbname='template1' user='user_id' password='xxxxx' 
>  
> The pg_hpa.conf file has an entry
> "host    all         all         ip_address  ip_mask   password"
>  
> Any idea why this is happening.
>  
> Regards,
> Salah

-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: phpPgAdmin 2.4.2
@ 2003-07-21 03:25  Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  parent: Salah Abdulla <salah@ilisys.com.au>
  1 sibling, 0 replies; 3+ messages in thread

From: Christopher Kings-Lynne @ 2003-07-21 03:25 UTC (permalink / raw)
  To: Salah Abdulla <salah@ilisys.com.au>; pgsql-php

Don't use phpPgAdmin 2.4.2 with Postgres 7.3.x - you should be using phpPgAdmin 3.0

Chris

  ----- Original Message ----- 
  From: Salah Abdulla 
  To: pgsql-php@postgresql.org 
  Sent: Wednesday, July 16, 2003 4:47 PM
  Subject: [PHP] phpPgAdmin 2.4.2


  Installed postgreql 7.3.3 and phpPgAdmin 2.4.2 in different machines. Defined password for postgres superuser. Entry is created in the pg_shadow table for the same user. Keeping the access method in pg_hba.conf file as "trust", I do not have any problem. However when changed the access method to "password"  and tried managing the database using the phpPgAdmin tool I get 

  Error - /var/www/pgadmin.intranet/htdocs/lib.inc.php -- Line: 303 
  PostgreSQL said: 
  Your query: 
  Unable to connect with settings: host=host_name' port='post_num' dbname='template1' user='user_id' password='xxxxx' 

  The pg_hpa.conf file has an entry
  "host    all         all         ip_address  ip_mask   password"

  Any idea why this is happening.

  Regards,
  Salah

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-07-21 03:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 08:47 phpPgAdmin 2.4.2 Salah Abdulla <salah@ilisys.com.au>
2003-07-16 20:07 ` Robert Treat <xzilla@users.sourceforge.net>
2003-07-21 03:25 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox