From: Bhuvan A <bhuvanbk@yahoo.com>
To: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: ConnecDB() -- couldn't send SSL negotiation packet:
Date: Fri, 6 Jul 2001 14:18:16 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0107061409020.4629-100000@Larry.bks> (raw)
In-Reply-To: <3B4563A1.10032186@archonet.com>
Well, here is the part of my code where i am trying to
connect to database server which uses the perl module 'Pg'.
$db = 'user=bhuvan dbname=bhuvan host=localhost';
$conn = Pg::connectdb($db);
die "Sorry! DATABASE CONNECTION FAILED\n",
$conn->errorMessage unless PGRES_CONNECTION_OK eq $conn->status;
print "db connection SUCCESSFUL\n";
Here is again the output:
Sorry! DATABASE CONNECTION FAILED
connectDB() -- couldn't send SSL negotiation packet: errno=9
Bad file descriptor
255 returned
--------END---------
MISC: Sir, why my message is not getting posted in pgsql-sql
mailing list!
On Fri, 6 Jul 2001, Richard Huxton wrote:
> Bhuvan A wrote:
> >
> > Well, I am using the perl standard module 'Pg'. For your
> > kind attention, I am socksifying my application, since we
> > are here using proxy!
>
> Right - can you post the 10 lines of code or so leading up to where the
> error occurs?
>
> - Richard Huxton
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bhuvanbk@yahoo.com, dev@archonet.com
Subject: Re: ConnecDB() -- couldn't send SSL negotiation packet:
In-Reply-To: <Pine.LNX.4.20.0107061409020.4629-100000@Larry.bks>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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