Perl5 connect problem - Mailing list pgsql-interfaces

From Maarten Boekhold
Subject Perl5 connect problem
Date
Msg-id Pine.SUN.3.91.980626112517.6978D-100000@dutepp2.et.tudelft.nl
Whole thread Raw
List pgsql-interfaces
Hi,

I'm moving some perl-scripts from a 6.2 server to a new machine which
runs 6.3.2. Also, on the old server authjentication was non-existant, it
used 'trust', while the new one uses passwords.

In the scripts, I have:

$PG_CONN = PQconnectdb("dbname=rockhouse user=username password=passwd
authtype=password");

I used old-style perl API in these scripts, but with that you cannot
specify passwords, thus this strange mix.

This fails, although I remember having tried it at home, where it worked,
and having username/password/database name correct. Connecting to the
database using psql gives no problems. postmaster runs with -i.

Any clue?

Maarten

_____________________________________________________________________________
| TU Delft, The Netherlands, Faculty of Information Technology and Systems  |
|                   Department of Electrical Engineering                    |
|           Computer Architecture and Digital Technique section             |
|                          M.Boekhold@et.tudelft.nl                         |
-----------------------------------------------------------------------------


pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: Re: [INTERFACES] jdbc, Dates, and JBuilder
Next
From: Maarten Boekhold
Date:
Subject: Perl interface again