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
>