[postgis-users] connect to database newbie question

Tomas Lanczos lanczos at t-zones.sk
Tue Jun 19 10:01:03 PDT 2007


Travis Kirstine wrote:
> Hi All,
> I have just set up postgis and postgresql using fedora extras to
> install.  I added the default user "postgres" with no password and
> created a test db (createlang etc..) and loaded a shapefile to a new
> table.  I would know like to access the postgis table using QGis but I
> am running into problems connecting.  I attempt to connect using:
> Name: testdb
> Host: localhost
> Database: testdb
> Port: 5432
> Username: postgres
> Password:
> 
> I get this error
> Ident authentication failed for user "postgres"
 >
> Any help or pointers would be great.

Try to change the "ident" authentification to "trust" in the pg_hba.conf 
file.

Tomas




More information about the postgis-users mailing list