| From: | Bhuvan A <bhuvanbk(at)yahoo(dot)com> |
|---|---|
| To: | Richard Huxton <dev(at)archonet(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: ConnecDB() -- couldn't send SSL negotiation packet: |
| Date: | 2001-07-06 08:48:16 |
| Message-ID: | Pine.LNX.4.20.0107061409020.4629-100000@Larry.bks |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2001-07-06 10:10:34 | Re: ConnecDB() -- couldn't send SSL negotiation packet: |
| Previous Message | Richard Huxton | 2001-07-06 08:41:04 | Re: While Using COPY COMMAND ... |