pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Can't connect using PgAdminII
2+ messages / 2 participants
[nested] [flat]

* Re: Can't connect using PgAdminII
@ 2003-03-18 23:36  YC Nyon <ycnyon@pd.jaring.my>
  0 siblings, 1 reply; 2+ messages in thread

From: YC Nyon @ 2003-03-18 23:36 UTC (permalink / raw)
  To: pgsql-admin

I tried to access to Postgresql via Pgadmin, it says "user postgres does not
exist".
I use localhost to connect. the pg_hba file has a "local all trust" line.The
postgres and pgadmin is installed on
the same server.
also i tried from the command line
        createdb -h localhost test
        psql -h localhost test
and it works.

The puzzling thing is I have the same configuration running on a test server
and it works fine.

Any clues?

Thanks
Nyon


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003




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

* Re: Can't connect using PgAdminII
@ 2003-03-20 00:35  Andrew Biagioni <andrew.biagioni@e-greek.net>
  parent: YC Nyon <ycnyon@pd.jaring.my>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Biagioni @ 2003-03-20 00:35 UTC (permalink / raw)
  To: YC Nyon <ycnyon@pd.jaring.my>; +Cc: pgsql-admin

I think you need to give us some more details, such as:

- What operating system are you running PostgreSQL on?  
- What operating system are you running PGadmin on?  
- What versions of PostgreSQL and PGadmin are you using?  
- Are they on the same machine?
- When you tried from the command line, what user were you (root, 
postgres, ...)?
- On what machine did you try the command line operations?

    Andrew

YC Nyon wrote:

>I tried to access to Postgresql via Pgadmin, it says "user postgres does not
>exist".
>I use localhost to connect. the pg_hba file has a "local all trust" line.The
>postgres and pgadmin is installed on
>the same server.
>also i tried from the command line
>        createdb -h localhost test
>        psql -h localhost test
>and it works.
>
>The puzzling thing is I have the same configuration running on a test server
>and it works fine.
>
>Any clues?
>
>Thanks
>Nyon
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
>  
>





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


end of thread, other threads:[~2003-03-20 00:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18 23:36 Re: Can't connect using PgAdminII YC Nyon <ycnyon@pd.jaring.my>
2003-03-20 00:35 ` Andrew Biagioni <andrew.biagioni@e-greek.net>

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